openapi: 3.0.3
info:
  title: Uniphore Business AI Cloud
  description: >-
    APIs for Uniphore Business AI platform spanning data, knowledge, models, and
    agents.
  version: 1.0.0
  x-metadata:
    owner: Uniphore Technologies Pvt Ltd
    team: Business AI
    department: Engineering
    status: Beta
servers:
  - url: https://forge-api-gateway-x-forge.dev.uniphorecloud.com
    description: Demo Instance for Uniphore Business AI Cloud
tags:
  - name: Action Orchestrator
    description: APIs for Actions Orchestration.
  - name: Agents
    description: APIs for Agents.
  - name: Darwin
    description: APIs for Darwin.
  - name: Evaluation
    description: APIs for Evaluation of models
  - name: Inferencing
    description: Pegasus APIs for Inferencing.
  - name: Meta Prompting
    description: APIs for Meta Prompting & Prompt Management.
  - name: Platform Config
    description: >-
      APIs for Platform Setup - Workflows, Sources, Destinations, Knowledge
      Bases etc.
  - name: Question & Answer
    description: APIs for Question & Answering
  - name: Tag
    description: APIs for Tag.
  - name: User Management
    description: APIs for User Management - Users, Roles, Permissions etc.
paths:
  /evaluation/upload-ground-truth:
    post:
      tags:
        - Evaluation
      summary: Upload Xlsx
      operationId: upload_xlsx_upload_ground_truth_post
      parameters:
        - name: tenantId
          in: query
          required: true
          style: form
          explode: true
          schema:
            title: Tenantid
            maxLength: 50
            minLength: 3
        - name: userId
          in: query
          required: true
          style: form
          explode: true
          schema:
            title: Userid
            maxLength: 50
            minLength: 3
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: >-
                #/components/schemas/Evaluation.Body_upload_xlsx_upload_ground_truth_post
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Evaluation.HTTPValidationError'
  /evaluation/upload-ground-truth-csv:
    post:
      tags:
        - Evaluation
      summary: Upload Csv
      operationId: upload_csv_upload_ground_truth_csv_post
      parameters:
        - name: tenantId
          in: query
          required: true
          style: form
          explode: true
          schema:
            title: Tenantid
            maxLength: 50
            minLength: 3
        - name: userId
          in: query
          required: true
          style: form
          explode: true
          schema:
            title: Userid
            maxLength: 50
            minLength: 3
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: >-
                #/components/schemas/Evaluation.Body_upload_csv_upload_ground_truth_csv_post
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Evaluation.HTTPValidationError'
  /evaluation/download-ground-truth:
    get:
      tags:
        - Evaluation
      summary: Download Csv
      operationId: download_csv_download_ground_truth_get
      parameters:
        - name: knowledgeBaseId
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Knowledgebaseid
            maxLength: 50
            minLength: 3
        - name: tenantId
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenantid
            maxLength: 50
            minLength: 3
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Evaluation.HTTPValidationError'
  /evaluation/job:
    get:
      tags:
        - Evaluation
      summary: Get Jobs
      operationId: get_jobs_job_get
      parameters:
        - name: tenantId
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenantid
            maxLength: 50
            minLength: 3
        - name: userId
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Userid
            maxLength: 50
            minLength: 3
        - name: knowledgeBaseId
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Knowledgebaseid
            maxLength: 50
            minLength: 3
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Evaluation.HTTPValidationError'
  /evaluation/job/{id}:
    get:
      tags:
        - Evaluation
      summary: Get Job
      operationId: get_job_job__id__get
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Id
            minLength: 1
        - name: tenantId
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenantid
            maxLength: 50
            minLength: 3
        - name: userId
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Userid
            maxLength: 50
            minLength: 3
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Evaluation.HTTPValidationError'
  /evaluation/batch/evaluate:
    post:
      tags:
        - Evaluation
      summary: Create Eval Batch Job
      operationId: create_eval_batch_job_batch_evaluate_post
      parameters:
        - name: tenantId
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenantid
            maxLength: 50
            minLength: 3
        - name: userId
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Userid
            maxLength: 50
            minLength: 3
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Evaluation.EvalBatchRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Evaluation.HTTPValidationError'
  /evaluation/metrics/download/{job_id}:
    get:
      tags:
        - Evaluation
      summary: Download Csv
      operationId: download_csv_metrics_download__job_id__get
      parameters:
        - name: job_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Job Id
            minLength: 1
        - name: tenantId
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenantid
            maxLength: 50
            minLength: 3
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Evaluation.HTTPValidationError'
  /evaluation/metrics:
    get:
      tags:
        - Evaluation
      summary: Get Latest Job Metrics
      operationId: get_latest_job_metrics_metrics_get
      parameters:
        - name: tenantId
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenantid
            maxLength: 50
            minLength: 3
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Evaluation.HTTPValidationError'
  /evaluation/metrics/{job_id}:
    get:
      tags:
        - Evaluation
      summary: Get Metrics By Job Id
      operationId: get_metrics_by_job_id_metrics__job_id__get
      parameters:
        - name: job_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Job Id
            minLength: 1
        - name: tenantId
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenantid
            maxLength: 50
            minLength: 3
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Evaluation.HTTPValidationError'
  /question-answer/v1/question/:
    post:
      tags:
        - Question & Answer
      summary: Post Question
      description: Request a question.
      operationId: post_question_v1_question__post
      parameters:
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - format: uuid
              - {}
        - name: user_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            anyOf:
              - format: uuid
              - {}
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QuestionAnswer.QuestionAnswerRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuestionAnswer.QuestionAnswerResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuestionAnswer.HTTPValidationError'
  /question-answer/v1/question/batch:
    post:
      tags:
        - Question & Answer
      summary: Batch Question
      description: Request multiple answers in batch mode.
      operationId: batch_question_v1_question_batch_post
      parameters:
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - format: uuid
              - {}
        - name: user_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            anyOf:
              - format: uuid
              - {}
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QuestionAnswer.QuestionAnswerRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/QuestionAnswer.MultiQuestionAnswerResponse
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuestionAnswer.HTTPValidationError'
  /question-answer/v1/question/{question_id}/feedback:
    post:
      tags:
        - Question & Answer
      summary: Feedback Question
      description: Providing feedback to a question.
      operationId: feedback_question_v1_question__question_id__feedback_post
      parameters:
        - name: question_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Question Id
            format: uuid
        - name: user_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            anyOf:
              - format: uuid
              - {}
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QuestionAnswer.Feedback'
        required: true
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuestionAnswer.HTTPValidationError'
  /question-answer/v1/question/list:
    post:
      tags:
        - Question & Answer
      summary: List Question
      description: List questions.
      operationId: list_question_v1_question_list_post
      parameters:
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - format: uuid
              - {}
        - name: user_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            anyOf:
              - format: uuid
              - {}
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QuestionAnswer.ListQuestionsRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuestionAnswer.ListQuestionsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuestionAnswer.HTTPValidationError'
  /question-answer/v1/chart:
    post:
      tags:
        - Question & Answer
      summary: Post Chart
      description: Request a chart.
      operationId: post_chart_v1_chart_post
      parameters:
        - name: question_id
          in: query
          description: Optional question ID to reference
          required: false
          style: form
          explode: true
          schema:
            title: Question Id
            description: Optional question ID to reference
            anyOf:
              - format: uuid
              - {}
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - format: uuid
              - {}
        - name: user_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            anyOf:
              - format: uuid
              - {}
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QuestionAnswer.ChartRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuestionAnswer.ChartResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuestionAnswer.HTTPValidationError'
  /meta-prompting/v1/validate:
    post:
      tags:
        - Meta Prompting
      summary: Validate Prompt Title
      operationId: validate_prompt_title_v1_validate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetaPrompting.PromptValidateRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/prompts:
    get:
      tags:
        - Meta Prompting
      summary: List Prompts
      operationId: list_prompts_v1_prompts_get
      parameters:
        - name: user_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            anyOf:
              - items: {}
              - {}
        - name: type
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Type
            anyOf:
              - items: {}
              - {}
        - name: category
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Category
            anyOf:
              - items: {}
              - {}
        - name: domain
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Domain
            anyOf:
              - items: {}
              - {}
        - name: language
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Language
            anyOf:
              - items: {}
              - {}
        - name: created_after
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Created After
            anyOf:
              - format: date-time
              - {}
        - name: created_before
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Created Before
            anyOf:
              - format: date-time
              - {}
        - name: updated_after
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Updated After
            anyOf:
              - format: date-time
              - {}
        - name: updated_before
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Updated Before
            anyOf:
              - format: date-time
              - {}
        - name: limit
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Limit
            default: 100
        - name: offset
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Offset
            default: 0
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
    post:
      tags:
        - Meta Prompting
      summary: Create Prompt
      operationId: create_prompt_v1_prompts_post
      parameters:
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetaPrompting.PromptCreateRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/prompts/history:
    get:
      tags:
        - Meta Prompting
      summary: List Prompt Histories
      operationId: list_prompt_histories_v1_prompts_history_get
      parameters:
        - name: limit
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Limit
            default: 100
        - name: offset
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Offset
            default: 0
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/prompts/{prompt_id}:
    get:
      tags:
        - Meta Prompting
      summary: Get Prompt
      operationId: get_prompt_v1_prompts__prompt_id__get
      parameters:
        - name: prompt_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Prompt Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
    delete:
      tags:
        - Meta Prompting
      summary: Hard Delete Prompt
      description: Hard delete a prompt and all its versions.
      operationId: hard_delete_prompt_v1_prompts__prompt_id__delete
      parameters:
        - name: prompt_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Prompt Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
    patch:
      tags:
        - Meta Prompting
      summary: Update Prompt
      operationId: update_prompt_v1_prompts__prompt_id__patch
      parameters:
        - name: prompt_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Prompt Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetaPrompting.PromptUpdateRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/prompts/{prompt_id}/versions/{version_id}/activate:
    patch:
      tags:
        - Meta Prompting
      summary: Update Prompt Activate Version
      operationId: >-
        update_prompt_activate_version_v1_prompts__prompt_id__versions__version_id__activate_patch
      parameters:
        - name: prompt_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Prompt Id
        - name: version_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Version Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/prompts/{prompt_id}/versions/number/{version_number}/activate:
    patch:
      tags:
        - Meta Prompting
      summary: Update Prompt Activate Version Number
      operationId: >-
        update_prompt_activate_version_number_v1_prompts__prompt_id__versions_number__version_number__activate_patch
      parameters:
        - name: prompt_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Prompt Id
        - name: version_number
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Version Number
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/versions/{version_id}:
    get:
      tags:
        - Meta Prompting
      summary: Get Prompt Version By Id
      operationId: get_prompt_version_by_id_v1_versions__version_id__get
      parameters:
        - name: version_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Version Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/prompts/{prompt_id}/versions/number/{version_number}:
    get:
      tags:
        - Meta Prompting
      summary: Get Prompt Version By Number
      operationId: >-
        get_prompt_version_by_number_v1_prompts__prompt_id__versions_number__version_number__get
      parameters:
        - name: prompt_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Prompt Id
        - name: version_number
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Version Number
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/prompts/{prompt_id}/history:
    get:
      tags:
        - Meta Prompting
      summary: List Prompt History
      operationId: list_prompt_history_v1_prompts__prompt_id__history_get
      parameters:
        - name: prompt_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Prompt Id
        - name: limit
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Limit
            default: 100
        - name: offset
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Offset
            default: 0
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.ListPromptHistoryResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/prompts/generate:
    post:
      tags:
        - Meta Prompting
      summary: Generate Prompt
      operationId: generate_prompt_v1_prompts_generate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetaPrompting.PromptGenerateRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/prompts/image/try:
    post:
      tags:
        - Meta Prompting
      summary: Describe Image Llama
      operationId: describe_image_llama_v1_prompts_image_try_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: >-
                #/components/schemas/MetaPrompting.Body_describe_image_llama_v1_prompts_image_try_post
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/prompts/text/try:
    post:
      tags:
        - Meta Prompting
      summary: Generate Llama Response
      operationId: generate_llama_response_v1_prompts_text_try_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetaPrompting.PromptTextTryRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/prompts/meta/types:
    get:
      tags:
        - Meta Prompting
      summary: Get Prompt Types
      operationId: get_prompt_types_v1_prompts_meta_types_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /meta-prompting/v1/prompts/meta/categories:
    get:
      tags:
        - Meta Prompting
      summary: Get Prompt Categories
      operationId: get_prompt_categories_v1_prompts_meta_categories_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /meta-prompting/v1/prompts/meta/domains:
    get:
      tags:
        - Meta Prompting
      summary: Get Prompt Domains
      operationId: get_prompt_domains_v1_prompts_meta_domains_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /meta-prompting/v1/prompts/meta/tones:
    get:
      tags:
        - Meta Prompting
      summary: Get Prompt Tones
      operationId: get_prompt_tones_v1_prompts_meta_tones_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /meta-prompting/v1/prompts/meta/languages:
    get:
      tags:
        - Meta Prompting
      summary: Get Prompt Languages
      operationId: get_prompt_languages_v1_prompts_meta_languages_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /meta-prompting/v2/prompts/{prompt_id}:
    get:
      tags:
        - Meta Prompting
      summary: Get Prompt
      operationId: get_prompt_v2_prompts__prompt_id__get
      parameters:
        - name: prompt_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Prompt Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.PromptResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /crewai-agents/api/v1/crews:
    post:
      tags:
        - Agents
      summary: Create Crews
      operationId: Create_Crews_api_v1_crews_post
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Agents.CrewConfig'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
    delete:
      tags:
        - Agents
      summary: Delete All Crews
      operationId: Delete_All_Crews_api_v1_crews_delete
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /crewai-agents/api/v1/crews/{crew_id}:
    get:
      tags:
        - Agents
      summary: Get Crews
      operationId: Get_Crews_api_v1_crews__crew_id__get
      parameters:
        - name: crew_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Crew Id
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
    put:
      tags:
        - Agents
      summary: Update Crews
      operationId: Update_Crews_api_v1_crews__crew_id__put
      parameters:
        - name: crew_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Crew Id
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Agents.CrewConfig'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
    delete:
      tags:
        - Agents
      summary: Delete Crews
      operationId: Delete_Crews_api_v1_crews__crew_id__delete
      parameters:
        - name: crew_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Crew Id
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /crewai-agents/api/v1/crews/execute:
    post:
      tags:
        - Agents
      summary: Crew Execution
      operationId: Crew_Execution_api_v1_crews_execute_post
      parameters:
        - name: timezone
          in: query
          description: Timezone of user
          required: true
          style: form
          explode: true
          schema:
            title: Timezone
            description: Timezone of user
        - name: execution_id
          in: query
          description: Execution ID
          required: true
          style: form
          explode: true
          schema:
            title: Execution Id
            description: Execution ID
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Agents.ExecutionInput'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /crewai-agents/api/v1/crews/generate:
    post:
      tags:
        - Agents
      summary: Generate Crews
      operationId: Generate_Crews_api_v1_crews_generate_post
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Agents.GeneratorConfig'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /crewai-agents/api/v1/agents:
    get:
      tags:
        - Agents
      summary: Get All Agents
      operationId: Get_All_Agents_api_v1_agents_get
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
    post:
      tags:
        - Agents
      summary: Create Crewai Agents
      operationId: Create_CrewAI_Agents_api_v1_agents_post
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Agents.AgentConfig'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
    delete:
      tags:
        - Agents
      summary: Delete All Agents
      operationId: Delete_All_Agents_api_v1_agents_delete
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /crewai-agents/api/v1/agents/{agent_id}:
    get:
      tags:
        - Agents
      summary: Get Agents
      operationId: Get_Agents_api_v1_agents__agent_id__get
      parameters:
        - name: agent_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Agent Id
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
    put:
      tags:
        - Agents
      summary: Update Agents
      operationId: Update_Agents_api_v1_agents__agent_id__put
      parameters:
        - name: agent_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Agent Id
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Agents.AgentConfig'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
    delete:
      tags:
        - Agents
      summary: Delete Agents
      operationId: Delete_Agents_api_v1_agents__agent_id__delete
      parameters:
        - name: agent_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Agent Id
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /crewai-agents/api/v1/agents/execute:
    post:
      tags:
        - Agents
      summary: Agent Execution
      operationId: Agent_Execution_api_v1_agents_execute_post
      parameters:
        - name: timezone
          in: query
          description: Timezone of user
          required: true
          style: form
          explode: true
          schema:
            title: Timezone
            description: Timezone of user
        - name: execution_id
          in: query
          description: Execution ID
          required: true
          style: form
          explode: true
          schema:
            title: Execution Id
            description: Execution ID
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Agents.ExecutionInput'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /crewai-agents/api/v1/agents/generate:
    post:
      tags:
        - Agents
      summary: Generate Agents
      operationId: Generate_Agents_api_v1_agents_generate_post
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Agents.GeneratorConfig'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /crewai-agents/api/v1/agents/{agent_id}/prompt-suggestions:
    get:
      tags:
        - Agents
      summary: Prompt Suggestions
      operationId: prompt_suggestions_api_v1_agents__agent_id__prompt_suggestions_get
      parameters:
        - name: agent_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Agent Id
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /crewai-agents/api/v1/agent-runs:
    get:
      tags:
        - Agents
      summary: Get Agent Runs
      operationId: get_agent_runs_api_v1_agent_runs_get
      parameters:
        - name: run_id
          in: query
          description: Run ID
          required: false
          style: form
          explode: true
          schema:
            title: Run Id
            description: Run ID
        - name: user_id
          in: query
          description: Inserted By User ID
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            description: Inserted By User ID
        - name: status
          in: query
          description: Run Status
          required: false
          style: form
          explode: true
          schema:
            title: Status
            description: Run Status
        - name: agent_id
          in: query
          description: Agent ID
          required: false
          style: form
          explode: true
          schema:
            title: Agent Id
            description: Agent ID
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /crewai-agents/api/v1/agents/{agent_id}/output-schema:
    get:
      tags:
        - Agents
      summary: Get Agent Output Schema
      operationId: Get_Agent_Output_Schema_api_v1_agents__agent_id__output_schema_get
      parameters:
        - name: agent_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Agent Id
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /user-management/v1/users:
    put:
      tags:
        - User Management
      summary: Update User
      description: Updates a User
      operationId: UpdateUser
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserManagement.UserRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/UserManagement.UserResponse'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
      security:
        - bearer-jwt: []
    post:
      tags:
        - User Management
      summary: Create User
      description: Creates a new User
      operationId: createUser
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserManagement.UserRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/UserManagement.UserResponse'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
      security:
        - bearer-jwt: []
  /user-management/users:
    put:
      tags:
        - User Management
      summary: Update User
      description: Updates a User
      operationId: UpdateUser_1
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserManagement.UserRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/UserManagement.UserResponse'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
    post:
      tags:
        - User Management
      summary: Create User
      description: Creates a new User
      operationId: createUser_1
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserManagement.UserRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/UserManagement.UserResponse'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
  /user-management/v1/users/search:
    post:
      tags:
        - User Management
      summary: Advanced Search User
      description: Advanced Searches Users with search criterion
      operationId: searchUsers
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserManagement.AdvSearchRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UserManagement.UserResponse'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
      security:
        - bearer-jwt: []
  /user-management/users/search:
    post:
      tags:
        - User Management
      summary: Advanced Search User
      description: Advanced Searches Users with search criterion
      operationId: searchUsers_1
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserManagement.AdvSearchRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UserManagement.UserResponse'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
  /user-management/v1/users/me:
    get:
      tags:
        - User Management
      summary: Get Current loggedIn User
      description: Reads the loggedIn User details
      operationId: getCurrentUserDetail
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/UserManagement.UserResponse'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
      security:
        - bearer-jwt: []
  /user-management/users/{id}:
    get:
      tags:
        - User Management
      summary: Get User
      description: Reads a User given user Id
      operationId: getUserDetail
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/UserManagement.UserResponse'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
  /darwin/v1/actions:
    get:
      tags:
        - Darwin
      summary: List All Actions
      description: |-
        Retrieve a list of actions.

        Parameters:
        - tenant_id: Identifier for the tenant.
        - configuration_service: Service to fetch actions.

        Returns:
        - A list of actions matching the criteria.
      operationId: List_all_actions_v1_actions_get
      parameters:
        - name: integration_name
          in: query
          description: Integration Name
          required: false
          style: form
          explode: true
          schema:
            title: Integration Name
            description: Integration Name
            anyOf:
              - {}
              - {}
        - name: action_name
          in: query
          description: Action Name
          required: false
          style: form
          explode: true
          schema:
            title: Action Name
            description: Action Name
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          description: user_id
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
            anyOf:
              - {}
              - {}
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response List All Actions V1 Actions Get
                items:
                  $ref: '#/components/schemas/Darwin.Action'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
    post:
      tags:
        - Darwin
      summary: Save Action
      description: |-
        save action

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - status.
      operationId: save_action_v1_actions_post
      parameters:
        - name: user_id
          in: query
          description: user_id
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
            anyOf:
              - {}
              - {}
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Darwin.ActionRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
    delete:
      tags:
        - Darwin
      summary: Delete Integration
      description: |-
        Delete Actions

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - status:
      operationId: Delete_Integration_v1_actions_delete
      parameters:
        - name: integration_name
          in: query
          description: Integration Name
          required: false
          style: form
          explode: true
          schema:
            title: Integration Name
            description: Integration Name
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          description: user_id
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
            anyOf:
              - {}
              - {}
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
  /darwin/v1/actions/count:
    get:
      tags:
        - Darwin
      summary: Actions Count Per Integration
      description: |-
        Retrieve a list of actions.

        Parameters:
        - tenant_id: Identifier for the tenant.
        - configuration_service: Service to fetch actions.

        Returns:
        - A list of actions matching the criteria.
      operationId: Actions_count_per_Integration_v1_actions_count_get
      parameters:
        - name: integration_name
          in: query
          description: Integration Name
          required: false
          style: form
          explode: true
          schema:
            title: Integration Name
            description: Integration Name
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          description: user_id
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
            anyOf:
              - {}
              - {}
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response Actions Count Per Integration V1 Actions Count Get
                items:
                  $ref: '#/components/schemas/Darwin.Integration'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
  /darwin/v1/action-parameters:
    post:
      tags:
        - Darwin
      summary: Fetch Action Parameters
      description: |-
        Retrieve a Fetch Action parameters.

        Parameters:
        - tenant_id: Identifier for the tenant.
        - action_service: Service to fetch actions.

        Returns:
        - A actions details matching the criteria.
      operationId: Fetch_Action_parameters_v1_action_parameters_post
      parameters:
        - name: user_id
          in: query
          description: user_id
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
            anyOf:
              - {}
              - {}
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Darwin.ActionParametersRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.ActionDetails'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
  /darwin/v1/actions/openapi-file-upload:
    post:
      tags:
        - Darwin
      summary: Upload Openapi Spec File
      description: Openapi file upload.
      operationId: Upload_Openapi_Spec_file_v1_actions_openapi_file_upload_post
      parameters:
        - name: request_data
          in: query
          description: >-
            Required params along with integration_name,description make it json
            and converted to base64 encoded string
          required: true
          style: form
          explode: true
          schema:
            title: Request Data
            description: >-
              Required params along with integration_name,description make it
              json and converted to base64 encoded string
        - name: user_id
          in: query
          description: user_id
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
            anyOf:
              - {}
              - {}
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: >-
                #/components/schemas/Darwin.Body_Upload_Openapi_Spec_file_v1_actions_openapi_file_upload_post
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
  /darwin/v1/integrations/workato/connection_mapper:
    get:
      tags:
        - Darwin
      summary: Get Workato User Mapper
      description: |-
        Retrieve a workato connection_mapper.

        Parameters:
        - tenant_id: Identifier for the tenant.
      operationId: Get_workato_user_mapper_v1_integrations_workato_connection_mapper_get
      parameters:
        - name: user_id
          in: query
          description: user_id
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
            anyOf:
              - {}
              - {}
        - name: integration_name
          in: query
          description: integration_name
          required: false
          style: form
          explode: true
          schema:
            title: Integration Name
            description: integration_name
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: >-
                  Response Get Workato User Mapper V1 Integrations Workato
                  Connection Mapper Get
                additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
    post:
      tags:
        - Darwin
      summary: Save User Mapper
      description: |-
        save connection_mapper

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - status.
      operationId: save_user_mapper_v1_integrations_workato_connection_mapper_post
      parameters:
        - name: user_id
          in: query
          description: user_id
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
            anyOf:
              - {}
              - {}
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Darwin.WorkatoUserConnectionMapper'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
  /darwin/v1/integrations/{integration_name}/access_params:
    get:
      tags:
        - Darwin
      summary: Get Access Params
      description: |-
        get_access_params

        Parameters:
        - tenant_id: Identifier for the tenant.
        - configuration_service: Service to fetch integrations.

        Returns:
        - status:
      operationId: Get_access_params_v1_integrations__integration_name__access_params_get
      parameters:
        - name: integration_name
          in: path
          description: Integration Name
          required: true
          style: simple
          explode: false
          schema:
            title: Integration Name
            description: Integration Name
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: >-
                  Response Get Access Params V1 Integrations  Integration Name 
                  Access Params Get
                additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
    post:
      tags:
        - Darwin
      summary: Save Access Params
      description: |-
        save_access_params

        Parameters:
        - tenant_id: Identifier for the tenant.
        - configuration_service: Service to fetch integrations.

        Returns:
        - status:
      operationId: Save_access_params_v1_integrations__integration_name__access_params_post
      parameters:
        - name: integration_name
          in: path
          description: Integration Name
          required: true
          style: simple
          explode: false
          schema:
            title: Integration Name
            description: Integration Name
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              title: Request
              additionalProperties: {}
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
  /darwin/v1/actions/functions:
    get:
      tags:
        - Darwin
      summary: Get Actions As Functions
      operationId: Get_Actions_as_Functions_v1_actions_functions_get
      parameters:
        - name: user_id
          in: query
          description: user_id
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
            anyOf:
              - {}
              - {}
        - name: action_name
          in: query
          description: Action Name
          required: false
          style: form
          explode: true
          schema:
            title: Action Name
            description: Action Name
            anyOf:
              - {}
              - {}
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response Get Actions As Functions V1 Actions Functions Get
                items:
                  additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
    post:
      tags:
        - Darwin
      summary: Fetch Actions As Functions
      operationId: Fetch_Actions_as_Functions_v1_actions_functions_post
      parameters:
        - name: user_id
          in: query
          description: user_id
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
            anyOf:
              - {}
              - {}
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Darwin.ActionsAsFunctionsRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response Fetch Actions As Functions V1 Actions Functions Post
                items:
                  additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
  /darwin/v1/actions/execute:
    post:
      tags:
        - Darwin
      summary: Execute Actions
      description: Execute Action.
      operationId: Execute_Actions_v1_actions_execute_post
      parameters:
        - name: user_id
          in: query
          description: user_id
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
            anyOf:
              - {}
              - {}
        - name: timezone
          in: query
          description: Timezone
          required: true
          style: form
          explode: true
          schema:
            title: Timezone
            description: Timezone
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Darwin.ActionExecuteRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.ActionExecutioResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
  /darwin/v1/reports/downloads/{file}:
    get:
      tags:
        - Darwin
      summary: Download File
      operationId: download_file_v1_reports_downloads__file__get
      parameters:
        - name: file
          in: path
          description: file
          required: true
          style: simple
          explode: false
          schema:
            title: File
            description: file
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
  /darwin/v1/actions/custom/execute:
    post:
      tags:
        - Darwin
      summary: Execute Actions
      description: |-
        Execute an Action.

        Request Body:
        - tenant_id: Identifier for the tenant.
        - configuration_service: Service to fetch actions.
        - action_id: Identifier for the Action.
        - action_name: Name of the Action.
        - user_id: Identifier of the User.
        - action_params: Parameters of the Action.
        - message: Message/Command for the Action.

        Returns:
        - An Action Execution response.
      operationId: Execute_Actions_v1_actions_custom_execute_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Darwin.ExecuteActionRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.ExecuteActionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
  /darwin/auth/slack/callback:
    get:
      tags:
        - Darwin
      summary: Slack Callback
      operationId: slack_callback_auth_slack_callback_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /darwin/auth/generate-url:
    get:
      tags:
        - Darwin
      summary: Get Auth Url Generate
      operationId: get_auth_url_generate_auth_generate_url_get
      parameters:
        - name: user_id
          in: query
          description: User ID
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User ID
        - name: integration_name
          in: query
          description: Integration Name
          required: true
          style: form
          explode: true
          schema:
            title: Integration Name
            description: Integration Name
        - name: integration_id
          in: query
          description: Integration Id
          required: true
          style: form
          explode: true
          schema:
            title: Integration Id
            description: Integration Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
  /darwin/auth/status:
    get:
      tags:
        - Darwin
      summary: Get Auth Url
      operationId: get_auth_url_auth_status_get
      parameters:
        - name: user_id
          in: query
          description: user_id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
        - name: integration_name
          in: query
          description: integration name
          required: true
          style: form
          explode: true
          schema:
            title: Integration Name
            description: integration name
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
  /darwin/auth/outlook/callback:
    post:
      tags:
        - Darwin
      summary: Outlook Callback
      operationId: outlook_callback_auth_outlook_callback_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /action-orchestrator/v1/categories:
    get:
      tags:
        - Action Orchestrator
      summary: List All Categories
      description: |-
        Retrieve a list of categories.

        Parameters:
        - tenant_id: Identifier for the tenant.
        - configuration_service: Service to fetch categories.

        Returns:
        - A list of categories matching the criteria.
      operationId: List_all_categories_v1_categories_get
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response List All Categories V1 Categories Get
                items:
                  $ref: '#/components/schemas/Orchestrator.Category'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/integrations:
    get:
      tags:
        - Action Orchestrator
      summary: List All Integrations
      description: |-
        Retrieve a list of integrations.

        Parameters:
        - tenant_id: Identifier for the tenant.
        - configuration_service: Service to fetch integrations.

        Returns:
        - A list of integrations matching the criteria.
      operationId: List_all_integrations_v1_integrations_get
      parameters:
        - name: category_id
          in: query
          description: Category Id
          required: false
          style: form
          explode: true
          schema:
            title: Category Id
            description: Category Id
            anyOf:
              - {}
              - {}
        - name: integration_name
          in: query
          description: Integration Name
          required: false
          style: form
          explode: true
          schema:
            title: Integration Name
            description: Integration Name
            anyOf:
              - {}
              - {}
        - name: integration_id
          in: query
          description: Integration Id
          required: false
          style: form
          explode: true
          schema:
            title: Integration Id
            description: Integration Id
            anyOf:
              - {}
              - {}
        - name: provider
          in: query
          description: 'Accepted values for provider are: darwin, mcp, open_api_spec'
          required: false
          style: form
          explode: true
          schema:
            title: Provider
            description: 'Accepted values for provider are: darwin, mcp, open_api_spec'
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response List All Integrations V1 Integrations Get
                items:
                  $ref: '#/components/schemas/Orchestrator.Integration'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
    post:
      tags:
        - Action Orchestrator
      summary: Save Integration
      description: |-
        save integration

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - status.
      operationId: save_integration_v1_integrations_post
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.IntegrationRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/integrations/{integration_id}:
    delete:
      tags:
        - Action Orchestrator
      summary: Delete Integration
      description: |-
        Delete Integration

        Parameters:
        - tenant_id: Identifier for the tenant.
        - configuration_service: Service to fetch integrations.

        Returns:
        - status:
      operationId: Delete_Integration_v1_integrations__integration_id__delete
      parameters:
        - name: integration_id
          in: path
          description: Integration Id
          required: true
          style: simple
          explode: false
          schema:
            title: Integration Id
            description: Integration Id
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/integrations/{integration_id}/access_params:
    get:
      tags:
        - Action Orchestrator
      summary: Get Access Params
      description: |-
        get_access_params

        Parameters:
        - tenant_id: Identifier for the tenant.
        - configuration_service: Service to fetch integrations.

        Returns:
        - status:
      operationId: Get_access_params_v1_integrations__integration_id__access_params_get
      parameters:
        - name: integration_id
          in: path
          description: Integration Id
          required: true
          style: simple
          explode: false
          schema:
            title: Integration Id
            description: Integration Id
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: >-
                  Response Get Access Params V1 Integrations  Integration Id 
                  Access Params Get
                additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
    post:
      tags:
        - Action Orchestrator
      summary: Save Access Params
      description: |-
        save_access_params

        Parameters:
        - tenant_id: Identifier for the tenant.
        - configuration_service: Service to fetch integrations.

        Returns:
        - status:
      operationId: Save_access_params_v1_integrations__integration_id__access_params_post
      parameters:
        - name: integration_id
          in: path
          description: Integration Id
          required: true
          style: simple
          explode: false
          schema:
            title: Integration Id
            description: Integration Id
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              title: Request
              additionalProperties: {}
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/integrations/workato/connection_mapper:
    get:
      tags:
        - Action Orchestrator
      summary: Get Workato User Mapper
      description: |-
        Retrieve a workato user_mapper.

        Parameters:
        - tenant_id: Identifier for the tenant.
      operationId: Get_workato_user_mapper_v1_integrations_workato_connection_mapper_get
      parameters:
        - name: integration_id
          in: query
          description: Integration Id
          required: true
          style: form
          explode: true
          schema:
            title: Integration Id
            description: Integration Id
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: >-
                  Response Get Workato User Mapper V1 Integrations Workato
                  Connection Mapper Get
                additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
    post:
      tags:
        - Action Orchestrator
      summary: Save User Mapper
      description: |-
        save user_mapper
        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - status.
      operationId: save_user_mapper_v1_integrations_workato_connection_mapper_post
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.WorkatoUserConnectionMapper'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/integrations/resources:
    post:
      tags:
        - Action Orchestrator
      summary: Get Integration Resources
      description: |-
        Save integration

        Parameters:
        - tenant_id: Identifier for the tenant.
        - request: List of integration strings.
        - user_id: ID of the user making the request.

        Returns:
        - CommonResponse with status.
      operationId: get_integration_resources_v1_integrations_resources_post
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.IntegrationResourcesRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: >-
                  Response Get Integration Resources V1 Integrations Resources
                  Post
                items:
                  additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions:
    get:
      tags:
        - Action Orchestrator
      summary: List All Actions
      description: |-
        Retrieve a list of actions.

        Parameters:
        - tenant_id: Identifier for the tenant.
        - configuration_service: Service to fetch actions.

        Returns:
        - A list of actions matching the criteria.
      operationId: List_all_actions_v1_actions_get
      parameters:
        - name: integration_id
          in: query
          description: Integration Id
          required: false
          style: form
          explode: true
          schema:
            title: Integration Id
            description: Integration Id
            anyOf:
              - {}
              - {}
        - name: action_name
          in: query
          description: Action Name
          required: false
          style: form
          explode: true
          schema:
            title: Action Name
            description: Action Name
            anyOf:
              - {}
              - {}
        - name: provider
          in: query
          description: 'Accepted values for provider are: darwin, mcp, open_api_spec'
          required: false
          style: form
          explode: true
          schema:
            title: Provider
            description: 'Accepted values for provider are: darwin, mcp, open_api_spec'
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response List All Actions V1 Actions Get
                items:
                  $ref: '#/components/schemas/Orchestrator.Action'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
    post:
      tags:
        - Action Orchestrator
      summary: Save Action
      description: |-
        save action

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - status.
      operationId: save_action_v1_actions_post
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.ActionRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/count:
    get:
      tags:
        - Action Orchestrator
      summary: Actions Count
      description: |-
        Retrieve a Actions count.

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - A Actions count matching the criteria.
      operationId: Actions_count_v1_actions_count_get
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.CountResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/mcp/servers/registry/connection-test:
    post:
      tags:
        - Action Orchestrator
      summary: Test Mcp Registry Connection
      description: |-
        Test Mcp Registry Connection

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - status.
      operationId: >-
        Test_Mcp_Registry_Connection_v1_actions_mcp_servers_registry_connection_test_post
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.McpRegistryConnection'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.McpRegistryConnection'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/mcp/servers/registry/connection:
    get:
      tags:
        - Action Orchestrator
      summary: Get Mcp Registry Connection
      description: |-
        Get Mcp Registry Connection

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - Mcp Registry Connection Details.
      operationId: >-
        Get_Mcp_Registry_Connection_v1_actions_mcp_servers_registry_connection_get
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.McpRegistryConnection'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
    post:
      tags:
        - Action Orchestrator
      summary: Mcp Registry Connection
      description: |-
        Mcp Registry Connection

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - status.
      operationId: Mcp_Registry_Connection_v1_actions_mcp_servers_registry_connection_post
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.McpRegistryConnection'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/mcp/servers:
    get:
      tags:
        - Action Orchestrator
      summary: List Mcp Servers
      description: |-
        Get list mcp servers

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - list mcp servers matching the criteria.
      operationId: list_mcp_servers_v1_actions_mcp_servers_get
      parameters:
        - name: registry_provider
          in: query
          description: >-
            Accepted values for registry_provider are: uniphore, smithery,
            custom
          required: false
          style: form
          explode: true
          schema:
            title: Registry Provider
            description: >-
              Accepted values for registry_provider are: uniphore, smithery,
              custom
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response List Mcp Servers V1 Actions Mcp Servers Get
                items:
                  $ref: '#/components/schemas/Orchestrator.MPCServerResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/mcp/servers/count:
    get:
      tags:
        - Action Orchestrator
      summary: Count Mcp Servers
      description: |-
        mcp servers count

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - count mcp servers
      operationId: count_mcp_servers_v1_actions_mcp_servers_count_get
      parameters:
        - name: connected
          in: query
          description: 'Accepted values for connected are: true/false'
          required: false
          style: form
          explode: true
          schema:
            title: Connected
            description: 'Accepted values for connected are: true/false'
            default: true
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.CountResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/mcp/servers/search:
    get:
      tags:
        - Action Orchestrator
      summary: List All Mcp Servers
      description: |-
        Retrieve a List all mcp servers.

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - A list of mcp servers matching the criteria.
      operationId: List_all_mcp_servers_v1_actions_mcp_servers_search_get
      parameters:
        - name: search
          in: query
          description: search
          required: false
          style: form
          explode: true
          schema:
            title: Search
            description: search
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: >-
                  Response List All Mcp Servers V1 Actions Mcp Servers Search
                  Get
                items:
                  $ref: '#/components/schemas/Orchestrator.MPCServer'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/mcp/servers/registry:
    get:
      tags:
        - Action Orchestrator
      summary: Get Mcp Server Registry
      description: |-
        Get mcp server registry

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - status.
      operationId: Get_mcp_server_registry_v1_actions_mcp_servers_registry_get
      parameters:
        - name: integration_name
          in: query
          description: Integration Name
          required: true
          style: form
          explode: true
          schema:
            title: Integration Name
            description: Integration Name
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.ServerRegistryResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
    post:
      tags:
        - Action Orchestrator
      summary: Registry Mcp Server
      description: |-
        Registry mcp server

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - status.
      operationId: Registry_mcp_server_v1_actions_mcp_servers_registry_post
      parameters:
        - name: registry_provider
          in: query
          description: 'Accepted values for registry_provider are: smithery, custom'
          required: true
          style: form
          explode: true
          schema:
            title: Registry Provider
            description: 'Accepted values for registry_provider are: smithery, custom'
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.ServerRegistryRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/mcp/servers/connection-test:
    post:
      tags:
        - Action Orchestrator
      summary: Test Mcp Server Connection
      description: |-
        test mcp server connection

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - connection status.
      operationId: Test_mcp_server_connection_v1_actions_mcp_servers_connection_test_post
      parameters:
        - name: registry_provider
          in: query
          description: 'Accepted values for registry_provider are: smithery, custom'
          required: true
          style: form
          explode: true
          schema:
            title: Registry Provider
            description: 'Accepted values for registry_provider are: smithery, custom'
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.ServerRegistryRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/mcp/servers/{qualified_name}:
    get:
      tags:
        - Action Orchestrator
      summary: Get Mcp Server Details
      description: |-
        Get mcp server details

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - mcp server details matching the criteria.
      operationId: Get_mcp_server_details_v1_actions_mcp_servers__qualified_name__get
      parameters:
        - name: qualified_name
          in: path
          description: Qualified Name
          required: true
          style: simple
          explode: false
          schema:
            title: Qualified Name
            description: Qualified Name
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.MPCServer'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/openapi-file-upload:
    post:
      tags:
        - Action Orchestrator
      summary: Upload Openapi Spec File
      description: Openapi file upload.
      operationId: Upload_Openapi_Spec_file_v1_actions_openapi_file_upload_post
      parameters:
        - name: request_data
          in: query
          description: >-
            Required params along with integration_name,description,access_level
            make it json and converted to base64 encoded string
          required: true
          style: form
          explode: true
          schema:
            title: Request Data
            description: >-
              Required params along with
              integration_name,description,access_level make it json and
              converted to base64 encoded string
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: >-
                #/components/schemas/Orchestrator.Body_Upload_Openapi_Spec_file_v1_actions_openapi_file_upload_post
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.UploadFileResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/workato-integrations:
    get:
      tags:
        - Action Orchestrator
      summary: List All Integrations
      operationId: List_all_integrations_v1_workato_integrations_get
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response List All Integrations V1 Workato Integrations Get
                items:
                  additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/workato-integrations/{integration}:
    get:
      tags:
        - Action Orchestrator
      summary: Get Integration
      operationId: Get_integration_v1_workato_integrations__integration__get
      parameters:
        - name: integration
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Integration
        - name: customer_id
          in: query
          description: Customer Id
          required: true
          style: form
          explode: true
          schema:
            title: Customer Id
            description: Customer Id
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: >-
                  Response Get Integration V1 Workato Integrations  Integration 
                  Get
                additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/workato-actions/{action_name}:
    get:
      tags:
        - Action Orchestrator
      summary: Get Workato Action
      operationId: Get_workato_action_v1_workato_actions__action_name__get
      parameters:
        - name: action_name
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Action Name
        - name: customer_id
          in: query
          description: Customer Id
          required: true
          style: form
          explode: true
          schema:
            title: Customer Id
            description: Customer Id
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: >-
                  Response Get Workato Action V1 Workato Actions  Action Name 
                  Get
                additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/functions:
    get:
      tags:
        - Action Orchestrator
      summary: Get Actions As Functions
      operationId: Get_Actions_as_Functions_v1_actions_functions_get
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: action_name
          in: query
          description: Action Name
          required: false
          style: form
          explode: true
          schema:
            title: Action Name
            description: Action Name
            anyOf:
              - {}
              - {}
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response Get Actions As Functions V1 Actions Functions Get
                items:
                  additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
    post:
      tags:
        - Action Orchestrator
      summary: Fetch Actions As Functions
      operationId: Fetch_Actions_as_Functions_v1_actions_functions_post
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.ActionsAsFunctionsRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response Fetch Actions As Functions V1 Actions Functions Post
                items:
                  additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/code-snippets:
    post:
      tags:
        - Action Orchestrator
      summary: Action Code Snippet
      description: Action Code Snippet
      operationId: Action_Code_Snippet_v1_actions_code_snippets_post
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.ActionCodeSnippetRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.ActionCodeSnippetResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/execute:
    post:
      tags:
        - Action Orchestrator
      summary: Execute Action
      description: Execute Action.
      operationId: Execute_Action_v1_actions_execute_post
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: timezone
          in: query
          description: Timezone
          required: false
          style: form
          explode: true
          schema:
            title: Timezone
            description: Timezone
            anyOf:
              - {}
              - {}
            default: IST
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.ActionExecutionRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.ActionExecutioResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/resource-upload:
    post:
      tags:
        - Action Orchestrator
      summary: Upload The File Resource
      description: file upload.
      operationId: Upload_the_file_resource_v1_actions_resource_upload_post
      parameters:
        - name: execution_id
          in: query
          description: execution_id
          required: false
          style: form
          explode: true
          schema:
            title: Execution Id
            description: execution_id
            anyOf:
              - {}
              - {}
        - name: integration_name
          in: query
          description: Integration Name
          required: false
          style: form
          explode: true
          schema:
            title: Integration Name
            description: Integration Name
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          description: user_id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: >-
                #/components/schemas/Orchestrator.Body_Upload_the_file_resource_v1_actions_resource_upload_post
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /tagging/api/v1/tag/fetch_metadata:
    post:
      tags:
        - Tag
      summary: Fetch Metadata
      operationId: fetch_metadata_api_v1_tag_fetch_metadata_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Tag.ConnectionPayload'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIResponseModel'
        '400':
          description: >-
            Bad Request - The request could not be understood or was missing
            required parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 400
                error:
                  error_code: IWXAI_1002
                  message: The request body contains invalid data.
                  details: Field 'name' is required but missing.
                timestamp: '2024-11-18T12:00:00Z'
        '401':
          description: Unauthorized - Authentication is required.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 401
                error:
                  error_code: IWXAI_1003
                  message: >-
                    Unauthorized access. Authentication credentials are missing
                    or invalid.
                  details: The provided token is either expired or invalid.
                timestamp: '2024-11-18T12:00:00Z'
        '403':
          description: Forbidden - Access to the resource is denied.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 403
                error:
                  error_code: IWXAI_1004
                  message: >-
                    Access forbidden. You do not have permission to access this
                    resource.
                  details: Your role does not grant access to this endpoint.
                timestamp: '2024-11-18T12:00:00Z'
        '404':
          description: Not Found - The requested resource could not be located.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 404
                error:
                  error_code: IWXAI_1005
                  message: The requested resource was not found.
                  details: The resource with ID '123' does not exist.
                timestamp: '2024-11-18T12:00:00Z'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.HTTPValidationError'
        '500':
          description: Internal Server Error - An unexpected error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 500
                error:
                  error_code: IWXAI_1001
                  message: Internal Server Error.
                  details: An unexpected error occurred while processing the request.
                timestamp: '2024-11-18T12:00:00Z'
  /tagging/api/v1/tag/get_table_relationships:
    post:
      tags:
        - Tag
      summary: Get Table Relationships
      operationId: get_table_relationships_api_v1_tag_get_table_relationships_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Tag.GetTableRelationshipsPayload'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIResponseModel'
        '400':
          description: >-
            Bad Request - The request could not be understood or was missing
            required parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 400
                error:
                  error_code: IWXAI_1002
                  message: The request body contains invalid data.
                  details: Field 'name' is required but missing.
                timestamp: '2024-11-18T12:00:00Z'
        '401':
          description: Unauthorized - Authentication is required.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 401
                error:
                  error_code: IWXAI_1003
                  message: >-
                    Unauthorized access. Authentication credentials are missing
                    or invalid.
                  details: The provided token is either expired or invalid.
                timestamp: '2024-11-18T12:00:00Z'
        '403':
          description: Forbidden - Access to the resource is denied.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 403
                error:
                  error_code: IWXAI_1004
                  message: >-
                    Access forbidden. You do not have permission to access this
                    resource.
                  details: Your role does not grant access to this endpoint.
                timestamp: '2024-11-18T12:00:00Z'
        '404':
          description: Not Found - The requested resource could not be located.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 404
                error:
                  error_code: IWXAI_1005
                  message: The requested resource was not found.
                  details: The resource with ID '123' does not exist.
                timestamp: '2024-11-18T12:00:00Z'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.HTTPValidationError'
        '500':
          description: Internal Server Error - An unexpected error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 500
                error:
                  error_code: IWXAI_1001
                  message: Internal Server Error.
                  details: An unexpected error occurred while processing the request.
                timestamp: '2024-11-18T12:00:00Z'
  /tagging/api/v1/tag/update_table_relationships:
    post:
      tags:
        - Tag
      summary: Update Table Relationships
      operationId: update_table_relationships_api_v1_tag_update_table_relationships_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/Tag.Body_update_table_relationships_api_v1_tag_update_table_relationships_post
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIResponseModel'
        '400':
          description: >-
            Bad Request - The request could not be understood or was missing
            required parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 400
                error:
                  error_code: IWXAI_1002
                  message: The request body contains invalid data.
                  details: Field 'name' is required but missing.
                timestamp: '2024-11-18T12:00:00Z'
        '401':
          description: Unauthorized - Authentication is required.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 401
                error:
                  error_code: IWXAI_1003
                  message: >-
                    Unauthorized access. Authentication credentials are missing
                    or invalid.
                  details: The provided token is either expired or invalid.
                timestamp: '2024-11-18T12:00:00Z'
        '403':
          description: Forbidden - Access to the resource is denied.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 403
                error:
                  error_code: IWXAI_1004
                  message: >-
                    Access forbidden. You do not have permission to access this
                    resource.
                  details: Your role does not grant access to this endpoint.
                timestamp: '2024-11-18T12:00:00Z'
        '404':
          description: Not Found - The requested resource could not be located.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 404
                error:
                  error_code: IWXAI_1005
                  message: The requested resource was not found.
                  details: The resource with ID '123' does not exist.
                timestamp: '2024-11-18T12:00:00Z'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.HTTPValidationError'
        '500':
          description: Internal Server Error - An unexpected error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 500
                error:
                  error_code: IWXAI_1001
                  message: Internal Server Error.
                  details: An unexpected error occurred while processing the request.
                timestamp: '2024-11-18T12:00:00Z'
  /tagging/api/v1/tag/get_table_description:
    post:
      tags:
        - Tag
      summary: Get Table Description
      operationId: get_table_description_api_v1_tag_get_table_description_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/Tag.Body_get_table_description_api_v1_tag_get_table_description_post
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIResponseModel'
        '400':
          description: >-
            Bad Request - The request could not be understood or was missing
            required parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 400
                error:
                  error_code: IWXAI_1002
                  message: The request body contains invalid data.
                  details: Field 'name' is required but missing.
                timestamp: '2024-11-18T12:00:00Z'
        '401':
          description: Unauthorized - Authentication is required.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 401
                error:
                  error_code: IWXAI_1003
                  message: >-
                    Unauthorized access. Authentication credentials are missing
                    or invalid.
                  details: The provided token is either expired or invalid.
                timestamp: '2024-11-18T12:00:00Z'
        '403':
          description: Forbidden - Access to the resource is denied.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 403
                error:
                  error_code: IWXAI_1004
                  message: >-
                    Access forbidden. You do not have permission to access this
                    resource.
                  details: Your role does not grant access to this endpoint.
                timestamp: '2024-11-18T12:00:00Z'
        '404':
          description: Not Found - The requested resource could not be located.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 404
                error:
                  error_code: IWXAI_1005
                  message: The requested resource was not found.
                  details: The resource with ID '123' does not exist.
                timestamp: '2024-11-18T12:00:00Z'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.HTTPValidationError'
        '500':
          description: Internal Server Error - An unexpected error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 500
                error:
                  error_code: IWXAI_1001
                  message: Internal Server Error.
                  details: An unexpected error occurred while processing the request.
                timestamp: '2024-11-18T12:00:00Z'
  /tagging/api/v1/tag/update_descriptions:
    post:
      tags:
        - Tag
      summary: Update Descriptions
      operationId: update_descriptions_api_v1_tag_update_descriptions_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/Tag.Body_update_descriptions_api_v1_tag_update_descriptions_post
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIResponseModel'
        '400':
          description: >-
            Bad Request - The request could not be understood or was missing
            required parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 400
                error:
                  error_code: IWXAI_1002
                  message: The request body contains invalid data.
                  details: Field 'name' is required but missing.
                timestamp: '2024-11-18T12:00:00Z'
        '401':
          description: Unauthorized - Authentication is required.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 401
                error:
                  error_code: IWXAI_1003
                  message: >-
                    Unauthorized access. Authentication credentials are missing
                    or invalid.
                  details: The provided token is either expired or invalid.
                timestamp: '2024-11-18T12:00:00Z'
        '403':
          description: Forbidden - Access to the resource is denied.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 403
                error:
                  error_code: IWXAI_1004
                  message: >-
                    Access forbidden. You do not have permission to access this
                    resource.
                  details: Your role does not grant access to this endpoint.
                timestamp: '2024-11-18T12:00:00Z'
        '404':
          description: Not Found - The requested resource could not be located.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 404
                error:
                  error_code: IWXAI_1005
                  message: The requested resource was not found.
                  details: The resource with ID '123' does not exist.
                timestamp: '2024-11-18T12:00:00Z'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.HTTPValidationError'
        '500':
          description: Internal Server Error - An unexpected error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 500
                error:
                  error_code: IWXAI_1001
                  message: Internal Server Error.
                  details: An unexpected error occurred while processing the request.
                timestamp: '2024-11-18T12:00:00Z'
  /tagging/api/v1/tag/get_tables_list:
    get:
      tags:
        - Tag
      summary: Get Table List
      operationId: get_table_list_api_v1_tag_get_tables_list_get
      parameters:
        - name: connection_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Connection Id
            anyOf:
              - {}
              - {}
        - name: knowledge_base_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Knowledge Base Id
            anyOf:
              - {}
              - {}
        - name: column_details
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Column Details
            default: false
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIResponseModel'
        '400':
          description: >-
            Bad Request - The request could not be understood or was missing
            required parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 400
                error:
                  error_code: IWXAI_1002
                  message: The request body contains invalid data.
                  details: Field 'name' is required but missing.
                timestamp: '2024-11-18T12:00:00Z'
        '401':
          description: Unauthorized - Authentication is required.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 401
                error:
                  error_code: IWXAI_1003
                  message: >-
                    Unauthorized access. Authentication credentials are missing
                    or invalid.
                  details: The provided token is either expired or invalid.
                timestamp: '2024-11-18T12:00:00Z'
        '403':
          description: Forbidden - Access to the resource is denied.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 403
                error:
                  error_code: IWXAI_1004
                  message: >-
                    Access forbidden. You do not have permission to access this
                    resource.
                  details: Your role does not grant access to this endpoint.
                timestamp: '2024-11-18T12:00:00Z'
        '404':
          description: Not Found - The requested resource could not be located.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 404
                error:
                  error_code: IWXAI_1005
                  message: The requested resource was not found.
                  details: The resource with ID '123' does not exist.
                timestamp: '2024-11-18T12:00:00Z'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.HTTPValidationError'
        '500':
          description: Internal Server Error - An unexpected error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 500
                error:
                  error_code: IWXAI_1001
                  message: Internal Server Error.
                  details: An unexpected error occurred while processing the request.
                timestamp: '2024-11-18T12:00:00Z'
  /tagging/api/v1/tag/get_source_connections:
    get:
      tags:
        - Tag
      summary: Get Connector Schemas
      operationId: get_connector_schemas_api_v1_tag_get_source_connections_get
      parameters:
        - name: source_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Source Id
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIResponseModel'
        '400':
          description: >-
            Bad Request - The request could not be understood or was missing
            required parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 400
                error:
                  error_code: IWXAI_1002
                  message: The request body contains invalid data.
                  details: Field 'name' is required but missing.
                timestamp: '2024-11-18T12:00:00Z'
        '401':
          description: Unauthorized - Authentication is required.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 401
                error:
                  error_code: IWXAI_1003
                  message: >-
                    Unauthorized access. Authentication credentials are missing
                    or invalid.
                  details: The provided token is either expired or invalid.
                timestamp: '2024-11-18T12:00:00Z'
        '403':
          description: Forbidden - Access to the resource is denied.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 403
                error:
                  error_code: IWXAI_1004
                  message: >-
                    Access forbidden. You do not have permission to access this
                    resource.
                  details: Your role does not grant access to this endpoint.
                timestamp: '2024-11-18T12:00:00Z'
        '404':
          description: Not Found - The requested resource could not be located.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 404
                error:
                  error_code: IWXAI_1005
                  message: The requested resource was not found.
                  details: The resource with ID '123' does not exist.
                timestamp: '2024-11-18T12:00:00Z'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.HTTPValidationError'
        '500':
          description: Internal Server Error - An unexpected error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 500
                error:
                  error_code: IWXAI_1001
                  message: Internal Server Error.
                  details: An unexpected error occurred while processing the request.
                timestamp: '2024-11-18T12:00:00Z'
  /tagging/api/v1/tag/latest_job_status:
    get:
      tags:
        - Tag
      summary: Get Latest Connection Job Status
      operationId: get_latest_connection_job_status_api_v1_tag_latest_job_status_get
      parameters:
        - name: connection_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Connection Id
            anyOf:
              - {}
              - {}
        - name: knowledge_base_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Knowledge Base Id
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIResponseModel'
        '400':
          description: >-
            Bad Request - The request could not be understood or was missing
            required parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 400
                error:
                  error_code: IWXAI_1002
                  message: The request body contains invalid data.
                  details: Field 'name' is required but missing.
                timestamp: '2024-11-18T12:00:00Z'
        '401':
          description: Unauthorized - Authentication is required.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 401
                error:
                  error_code: IWXAI_1003
                  message: >-
                    Unauthorized access. Authentication credentials are missing
                    or invalid.
                  details: The provided token is either expired or invalid.
                timestamp: '2024-11-18T12:00:00Z'
        '403':
          description: Forbidden - Access to the resource is denied.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 403
                error:
                  error_code: IWXAI_1004
                  message: >-
                    Access forbidden. You do not have permission to access this
                    resource.
                  details: Your role does not grant access to this endpoint.
                timestamp: '2024-11-18T12:00:00Z'
        '404':
          description: Not Found - The requested resource could not be located.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 404
                error:
                  error_code: IWXAI_1005
                  message: The requested resource was not found.
                  details: The resource with ID '123' does not exist.
                timestamp: '2024-11-18T12:00:00Z'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.HTTPValidationError'
        '500':
          description: Internal Server Error - An unexpected error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 500
                error:
                  error_code: IWXAI_1001
                  message: Internal Server Error.
                  details: An unexpected error occurred while processing the request.
                timestamp: '2024-11-18T12:00:00Z'
  /tagging/api/v1/tag/upload_csv:
    post:
      tags:
        - Tag
      summary: Upload Csv
      operationId: upload_csv_api_v1_tag_upload_csv_post
      parameters:
        - name: overwrite
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Overwrite
            default: false
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: >-
                #/components/schemas/Tag.Body_upload_csv_api_v1_tag_upload_csv_post
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIResponseModel'
        '400':
          description: >-
            Bad Request - The request could not be understood or was missing
            required parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 400
                error:
                  error_code: IWXAI_1002
                  message: The request body contains invalid data.
                  details: Field 'name' is required but missing.
                timestamp: '2024-11-18T12:00:00Z'
        '401':
          description: Unauthorized - Authentication is required.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 401
                error:
                  error_code: IWXAI_1003
                  message: >-
                    Unauthorized access. Authentication credentials are missing
                    or invalid.
                  details: The provided token is either expired or invalid.
                timestamp: '2024-11-18T12:00:00Z'
        '403':
          description: Forbidden - Access to the resource is denied.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 403
                error:
                  error_code: IWXAI_1004
                  message: >-
                    Access forbidden. You do not have permission to access this
                    resource.
                  details: Your role does not grant access to this endpoint.
                timestamp: '2024-11-18T12:00:00Z'
        '404':
          description: Not Found - The requested resource could not be located.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 404
                error:
                  error_code: IWXAI_1005
                  message: The requested resource was not found.
                  details: The resource with ID '123' does not exist.
                timestamp: '2024-11-18T12:00:00Z'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.HTTPValidationError'
        '500':
          description: Internal Server Error - An unexpected error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 500
                error:
                  error_code: IWXAI_1001
                  message: Internal Server Error.
                  details: An unexpected error occurred while processing the request.
                timestamp: '2024-11-18T12:00:00Z'
  /tagging/api/v1/tag/fetch_tables:
    post:
      tags:
        - Tag
      summary: Fetch Tables
      operationId: fetch_tables_api_v1_tag_fetch_tables_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/Tag.Body_fetch_tables_api_v1_tag_fetch_tables_post
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIResponseModel'
        '400':
          description: >-
            Bad Request - The request could not be understood or was missing
            required parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 400
                error:
                  error_code: IWXAI_1002
                  message: The request body contains invalid data.
                  details: Field 'name' is required but missing.
                timestamp: '2024-11-18T12:00:00Z'
        '401':
          description: Unauthorized - Authentication is required.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 401
                error:
                  error_code: IWXAI_1003
                  message: >-
                    Unauthorized access. Authentication credentials are missing
                    or invalid.
                  details: The provided token is either expired or invalid.
                timestamp: '2024-11-18T12:00:00Z'
        '403':
          description: Forbidden - Access to the resource is denied.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 403
                error:
                  error_code: IWXAI_1004
                  message: >-
                    Access forbidden. You do not have permission to access this
                    resource.
                  details: Your role does not grant access to this endpoint.
                timestamp: '2024-11-18T12:00:00Z'
        '404':
          description: Not Found - The requested resource could not be located.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 404
                error:
                  error_code: IWXAI_1005
                  message: The requested resource was not found.
                  details: The resource with ID '123' does not exist.
                timestamp: '2024-11-18T12:00:00Z'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.HTTPValidationError'
        '500':
          description: Internal Server Error - An unexpected error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag.APIErrorResponse'
              example:
                success: false
                status_code: 500
                error:
                  error_code: IWXAI_1001
                  message: Internal Server Error.
                  details: An unexpected error occurred while processing the request.
                timestamp: '2024-11-18T12:00:00Z'
  /platform-config/v1/workflows/{id}:
    get:
      tags:
        - Platform Config
      summary: Gets a workflow with id
      operationId: getWorkflow
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
    put:
      tags:
        - Platform Config
      summary: Updates provided workflow
      operationId: updateWorkflow
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: promote
          in: query
          required: false
          style: form
          explode: true
          schema: {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.WorkflowCreateReq'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
    delete:
      tags:
        - Platform Config
      summary: Deletes a workflow with id
      operationId: deleteWorkflow
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/sources/{sourceId}:
    get:
      tags:
        - Platform Config
      summary: Gets source connector for a tenantId by id.
      operationId: getSource
      parameters:
        - name: sourceId
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: tenant_id
          in: query
          required: true
          style: form
          explode: true
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
    put:
      tags:
        - Platform Config
      summary: Updates the source connector for the given id.
      operationId: updateSource
      parameters:
        - name: sourceId
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.SourceConnectorUpdateReq'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/knowledge_bases/{knowledge_base_id}:
    put:
      tags:
        - Platform Config
      summary: Updates knowledgebase name and description
      operationId: update
      parameters:
        - name: knowledge_base_id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: tenant_id
          in: query
          required: true
          style: form
          explode: true
          schema: {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.KnowledgeBaseUpdateReq'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/destinations/{destinationId}:
    get:
      tags:
        - Platform Config
      summary: Gets destination connector for a tenantId by id.
      operationId: getDestination
      parameters:
        - name: destinationId
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: tenant_id
          in: query
          required: true
          style: form
          explode: true
          schema: {}
        - name: include_secrets
          in: query
          required: false
          style: form
          explode: true
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
    put:
      tags:
        - Platform Config
      summary: Updates the destination connector for the given id.
      operationId: updateDestination
      parameters:
        - name: destinationId
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.ConnectorUpdateReq'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/workflows:
    get:
      tags:
        - Platform Config
      summary: Lists workflows with filters
      operationId: listWorkflows
      parameters:
        - name: workflowId
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: status
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: workflowType
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: sourceId
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: destinationId
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: offset
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: int32
            default: 0
        - name: limit
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: int32
            default: 10
        - name: name_contains
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: updated_after
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: updated_before
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: created_after
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: created_before
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: sort_by
          in: query
          required: false
          style: form
          explode: true
          schema:
            enum:
              - NAME
              - CREATED_AT
              - UPDATED_AT
        - name: sort_order
          in: query
          required: false
          style: form
          explode: true
          schema:
            enum:
              - ASC
              - DESC
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
    post:
      tags:
        - Platform Config
      summary: Creates a workflow
      operationId: createWorkflow
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.WorkflowCreateReq'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/workflows/{id}/run:
    post:
      tags:
        - Platform Config
      summary: Executes provided workflow
      operationId: executeWorkflow
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
      requestBody:
        content:
          application/json:
            schema:
              properties:
                input_files:
                  items:
                    format: binary
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/workflows/validate:
    post:
      tags:
        - Platform Config
      summary: Validate a workflow
      operationId: validateWorkflow
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.WorkflowValidateReq'
        required: true
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/workflows/experiment:
    post:
      tags:
        - Platform Config
      summary: Creates an experiment workflow for a document type
      operationId: createWorkflowForDocumentType
      parameters:
        - name: documentType
          in: query
          required: true
          style: form
          explode: true
          schema: {}
        - name: tenantId
          in: query
          required: false
          style: form
          explode: true
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/sources:
    get:
      tags:
        - Platform Config
      summary: Lists all the sources for a tenantId.
      operationId: listSources
      parameters:
        - name: tenant_id
          in: query
          required: true
          style: form
          explode: true
          schema: {}
        - name: offset
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: int32
            default: 0
        - name: limit
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: int32
            default: 10
        - name: name_contains
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: source_type
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: type
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: updated_after
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: updated_before
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: created_after
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: created_before
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: sort_by
          in: query
          required: false
          style: form
          explode: true
          schema:
            enum:
              - NAME
              - CREATED_AT
              - UPDATED_AT
        - name: sort_order
          in: query
          required: false
          style: form
          explode: true
          schema:
            enum:
              - ASC
              - DESC
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
    post:
      tags:
        - Platform Config
      summary: Create a new source connector.
      operationId: createSource
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.SourceConnectorCreateReq'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/slm_to_knowledgebase/{knowledge_base_id}:
    post:
      tags:
        - Platform Config
      summary: SLM pairing with given knowledgebase id.
      operationId: slmPairing
      parameters:
        - name: knowledge_base_id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: tenant_id
          in: query
          required: true
          style: form
          explode: true
          schema: {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.SLMPairingReq'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/questions:
    get:
      tags:
        - Platform Config
      summary: questions
      operationId: getQuestions
      parameters:
        - name: tenant_id
          in: query
          required: true
          style: form
          explode: true
          schema: {}
        - name: user_id
          in: query
          required: true
          style: form
          explode: true
          schema: {}
        - name: knowledge_base_id
          in: query
          required: true
          style: form
          explode: true
          schema: {}
        - name: offset
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: int32
            default: 0
        - name: limit
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: int32
            default: 10
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
    post:
      tags:
        - Platform Config
      summary: Ask a Question
      operationId: askQuestion
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.AskQuestionRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlatformConfig.AskQuestionResponse'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/questions/{question_id}/chart:
    post:
      tags:
        - Platform Config
      summary: Generate chart
      operationId: generateChart
      parameters:
        - name: question_id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.GenerateChartRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlatformConfig.GenerateChartResponse'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/destinations:
    get:
      tags:
        - Platform Config
      summary: Lists all the destinations for a tenantId.
      operationId: listDestinations
      parameters:
        - name: tenant_id
          in: query
          required: true
          style: form
          explode: true
          schema: {}
        - name: offset
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: int32
            default: 0
        - name: limit
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: int32
            default: 10
        - name: type
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: name_contains
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: updated_after
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: updated_before
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: created_after
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: created_before
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: sort_by
          in: query
          required: false
          style: form
          explode: true
          schema:
            enum:
              - NAME
              - CREATED_AT
              - UPDATED_AT
        - name: sort_order
          in: query
          required: false
          style: form
          explode: true
          schema:
            enum:
              - ASC
              - DESC
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
    post:
      tags:
        - Platform Config
      summary: Create a new destination connector.
      operationId: createDestination
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.ConnectorCreateReq'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/configuration:
    post:
      tags:
        - Platform Config
      summary: Create configuration
      operationId: create
      parameters:
        - name: tenant_id
          in: query
          required: true
          style: form
          explode: true
          schema: {}
        - name: user_id
          in: query
          required: true
          style: form
          explode: true
          schema: {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.ConfigurationRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/workflows/template:
    get:
      tags:
        - Platform Config
      summary: Gets a template schema for the workflows
      operationId: getTemplate
      parameters:
        - name: workflowTemplate
          in: query
          required: true
          style: form
          explode: true
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/sources/test/{id}:
    get:
      tags:
        - Platform Config
      summary: Test Source connector
      operationId: testSource
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: tenant_id
          in: query
          required: true
          style: form
          explode: true
          schema: {}
      responses:
        '200':
          description: OK
          content:
            text/event-stream:
              schema:
                items:
                  $ref: >-
                    #/components/schemas/PlatformConfig.ServerSentEventConnectorStatusRes
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/slm:
    get:
      tags:
        - Platform Config
      summary: Get list of SLM
      operationId: list_1
      parameters:
        - name: tenant_id
          in: query
          required: true
          style: form
          explode: true
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/slm/{slmId}:
    get:
      tags:
        - Platform Config
      summary: Gets SLM by id.
      operationId: get_1
      parameters:
        - name: slmId
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: tenant_id
          in: query
          required: true
          style: form
          explode: true
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/knowledge_bases:
    get:
      tags:
        - Platform Config
      summary: Get knowledgebases
      operationId: list_2
      parameters:
        - name: tenant_id
          in: query
          required: true
          style: form
          explode: true
          schema: {}
        - name: offset
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: int32
            default: 0
        - name: limit
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: int32
            default: 10
        - name: is_slm_paired
          in: query
          required: false
          style: form
          explode: true
          schema:
            default: ALL
            enum:
              - ALL
              - 'TRUE'
              - 'FALSE'
        - name: name_contains
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: type
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: updated_after
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: updated_before
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: created_after
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: created_before
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: sort_by
          in: query
          required: false
          style: form
          explode: true
          schema:
            enum:
              - NAME
              - CREATED_AT
              - UPDATED_AT
        - name: sort_order
          in: query
          required: false
          style: form
          explode: true
          schema:
            enum:
              - ASC
              - DESC
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/knowledge_bases/{id}:
    get:
      tags:
        - Platform Config
      summary: Gets knowledgebase by id.
      operationId: get_2
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: tenant_id
          in: query
          required: true
          style: form
          explode: true
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/jobs:
    get:
      tags:
        - Platform Config
      summary: Lists jobs with filters
      operationId: listJobs
      parameters:
        - name: workflowId
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: status
          in: query
          required: false
          style: form
          explode: true
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/jobs/{id}:
    get:
      tags:
        - Platform Config
      summary: Get job with id
      operationId: getJob
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: destinationFolder
          in: query
          required: false
          style: form
          explode: true
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/jobs/{id}/failed-files:
    get:
      tags:
        - Platform Config
      summary: Get failure details for files in a job
      operationId: getFailedFiles
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/jobs/{id}/details:
    get:
      tags:
        - Platform Config
      summary: Get job processing details
      operationId: getJobDetails
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/jobs/{id}/cancel:
    get:
      tags:
        - Platform Config
      summary: Cancels job with id
      operationId: abortJob
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/jobs/subscribe/{id}:
    get:
      tags:
        - Platform Config
      summary: Subscribe to job status events
      operationId: subscribe
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: destinationFolder
          in: query
          required: false
          style: form
          explode: true
          schema: {}
      responses:
        '200':
          description: OK
          content:
            text/event-stream:
              schema:
                items:
                  $ref: '#/components/schemas/PlatformConfig.ServerSentEventJobRes'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/jobs/subscribe/{id}/details:
    get:
      tags:
        - Platform Config
      summary: Subscribe to job processing details events
      operationId: subscribeJobDetails
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            text/event-stream:
              schema:
                items:
                  $ref: >-
                    #/components/schemas/PlatformConfig.ServerSentEventJobDetailsRes
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/embedder/models:
    get:
      tags:
        - Platform Config
      summary: Get embedder models
      operationId: list_3
      parameters:
        - name: tenant_id
          in: query
          required: true
          style: form
          explode: true
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/embedder/models/{embedderModelId}:
    get:
      tags:
        - Platform Config
      summary: Gets embedder model by id.
      operationId: get_3
      parameters:
        - name: embedderModelId
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: tenant_id
          in: query
          required: true
          style: form
          explode: true
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/destinations/test/{id}:
    get:
      tags:
        - Platform Config
      summary: Test destination connector
      operationId: testDestination
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: tenant_id
          in: query
          required: true
          style: form
          explode: true
          schema: {}
      responses:
        '200':
          description: OK
          content:
            text/event-stream:
              schema:
                items:
                  $ref: >-
                    #/components/schemas/PlatformConfig.ServerSentEventConnectorStatusRes
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/configuration/{type}:
    get:
      tags:
        - Platform Config
      summary: Get configurations
      operationId: list_4
      parameters:
        - name: type
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: tenant_id
          in: query
          required: true
          style: form
          explode: true
          schema: {}
        - name: user_id
          in: query
          required: true
          style: form
          explode: true
          schema: {}
        - name: knowledge_base_id
          in: query
          required: true
          style: form
          explode: true
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/workflows/experiment/{id}:
    delete:
      tags:
        - Platform Config
      summary: Cleanup for a template workflow with id
      operationId: deleteTemplate
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/sources/{id}:
    delete:
      tags:
        - Platform Config
      summary: Delete source connector by ID
      description: Deletes a source connector
      operationId: deleteSource
      parameters:
        - name: id
          in: path
          description: Source ID
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema: {}
        '204':
          description: Source deleted successfully
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Source not found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/knowledge_bases/{knowledgeBaseId}:
    delete:
      tags:
        - Platform Config
      summary: Delete knowledgebase by ID
      description: Deletes a knowledgebase
      operationId: delete
      parameters:
        - name: knowledgeBaseId
          in: path
          description: KnowledgeBaseId ID
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema: {}
        '204':
          description: knowledgebase deleted successfully
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: knowledgebase not found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/destinations/{id}:
    delete:
      tags:
        - Platform Config
      summary: Delete destination connector by ID
      description: Deletes a destination connector
      operationId: deleteDestination
      parameters:
        - name: id
          in: path
          description: Destination ID
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema: {}
        '204':
          description: Destination deleted successfully
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Destination not found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /inferencing/openai/v1/models:
    get:
      tags:
        - Inferencing
      summary: List Models
      description: >-
        Lists the currently available models, and provides basic information
        about each one.
      operationId: list_models_openai_v1_models_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /inferencing/openai/v1/chat/completions:
    post:
      tags:
        - Inferencing
      summary: Chat Completions
      description: Creates a model response for the given chat conversation.
      operationId: chat_completions_openai_v1_chat_completions_post
      parameters:
        - name: setup
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Setup
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Inferencing.ChatCompletionRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.ChatCompletionResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.OpenAIErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.HTTPValidationError'
  /inferencing/openai/v1/embeddings:
    post:
      tags:
        - Inferencing
      summary: Create Embeddings
      description: Creates an embedding vector representing the input text.
      operationId: create_embeddings_openai_v1_embeddings_post
      parameters:
        - name: setup
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Setup
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Inferencing.EmbeddingRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.EmbeddingResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.OpenAIErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.HTTPValidationError'
  /inferencing/uniphore/v1/models:
    get:
      tags:
        - Inferencing
      summary: Show available models
      description: List all available models in the Pegasus Inference API.
      operationId: list_models_uniphore_v1_models_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.UniphoreModelList'
  /inferencing/uniphore/v1/setups:
    get:
      tags:
        - Inferencing
      summary: Show available setups
      operationId: list_setups_uniphore_v1_setups_get
      parameters:
        - name: model_name
          in: query
          description: Name of the model to list setups for
          required: true
          style: form
          explode: true
          schema:
            title: Model Name
            description: Name of the model to list setups for
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.HTTPValidationError'
  /inferencing/uniphore/v1/models/llms:
    get:
      tags:
        - Inferencing
      summary: Show available LLMs
      description: List all available LLMs in the Pegasus Inference API.
      operationId: list_llms_uniphore_v1_models_llms_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.UniphoreModelList'
  /inferencing/uniphore/v1/models/vlms:
    get:
      tags:
        - Inferencing
      summary: Show available VLMs
      description: List all available VLMs in the Pegasus Inference API.
      operationId: list_vlms_uniphore_v1_models_vlms_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.UniphoreModelList'
  /inferencing/uniphore/v1/models/embedders:
    get:
      tags:
        - Inferencing
      summary: Show available embedders
      description: List all available embedders in the Pegasus Inference API.
      operationId: list_embedders_uniphore_v1_models_embedders_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.UniphoreModelList'
  /inferencing/uniphore/v1/models/rankers:
    get:
      tags:
        - Inferencing
      summary: Show available rankers
      description: List all available rankers in the Pegasus Inference API.
      operationId: list_rankers_uniphore_v1_models_rankers_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.UniphoreModelList'
  /inferencing/uniphore/v1/models/guardrails:
    get:
      tags:
        - Inferencing
      summary: Show available guardrails
      description: List all available guardrails in the Pegasus Inference API.
      operationId: list_guardrails_uniphore_v1_models_guardrails_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.UniphoreModelList'
  /inferencing/uniphore/v1/nemoguard-jailbreak-detect:
    post:
      tags:
        - Inferencing
      summary: Nemoguard Jailbreak Detect
      description: Inference to Nemoguard Jailbreak Detect model.
      operationId: nemoguard_jailbreak_detect_uniphore_v1_nemoguard_jailbreak_detect_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Inferencing.JailbreakDetectRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.JailbreakDetectResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.HTTPValidationError'
  /inferencing/uniphore/v1/ranker:
    post:
      tags:
        - Inferencing
      summary: Ranker
      description: Inference to Ranker models.
      operationId: ranker_uniphore_v1_ranker_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Inferencing.RankerRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.RankerResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.HTTPValidationError'
components:
  schemas:
    Evaluation.ValidationError:
      title: ValidationError
      required:
        - loc
        - msg
        - type
      properties:
        loc:
          title: Location
          items:
            anyOf:
              - {}
              - {}
        msg:
          title: Message
        type:
          title: Error Type
    Evaluation.Body_upload_xlsx_upload_ground_truth_post:
      title: Body_upload_xlsx_upload_ground_truth_post
      required:
        - file
        - knowledgeBaseId
      properties:
        file:
          title: File
          format: binary
        knowledgeBaseId:
          title: Knowledgebaseid
          maxLength: 100
          minLength: 1
    Evaluation.EvalBatchRequest:
      title: EvalBatchRequest
      required:
        - name
      properties:
        name:
          title: Name
        jobConfig:
          title: Jobconfig
          anyOf:
            - additionalProperties: {}
            - {}
    Evaluation.Body_upload_csv_upload_ground_truth_csv_post:
      title: Body_upload_csv_upload_ground_truth_csv_post
      required:
        - file
        - knowledgeBaseId
      properties:
        file:
          title: File
          format: binary
        knowledgeBaseId:
          title: Knowledgebaseid
          maxLength: 100
          minLength: 1
    Evaluation.HTTPValidationError:
      title: HTTPValidationError
      properties:
        detail:
          title: Detail
          items:
            $ref: '#/components/schemas/Evaluation.ValidationError'
    QuestionAnswer.TagResult:
      title: TagResult
      properties:
        description:
          title: Description
          description: Always in the response. Describes the query or what went wrong.
          anyOf:
            - {}
            - {}
        sql_query:
          title: Sql Query
          description: >-
            In the response if no SQL query is built. If more information is
            needed, check `description`.
          anyOf:
            - {}
            - {}
        follow_up_questions:
          title: Follow Up Questions
          description: In the response, if follow up questions are generated.
          anyOf:
            - items: {}
            - {}
        is_valid_sql:
          title: Is Valid Sql
          description: Only in the response if `validate_query`. See `reasoning`.
          anyOf:
            - {}
            - {}
        reasoning:
          title: Reasoning
          description: >-
            Only in the response if `validate_query`. Reasoning for valid query
            or not.
          anyOf:
            - {}
            - {}
        query_execution_result:
          title: Query Execution Result
          description: Only in the response if `execute_query`.
          anyOf:
            - items:
                additionalProperties: {}
            - {}
        final_answer:
          title: Final Answer
          description: >-
            Only in the response if `execute_query`. LLM generated answer of
            `query_execution_result`
          anyOf:
            - {}
            - {}
    QuestionAnswer.QuestionAnswerResponse:
      title: QuestionAnswerResponse
      required:
        - data
        - query
      properties:
        id:
          title: Id
          anyOf:
            - {}
            - {}
        data:
          title: Data
        query:
          title: Query
        documents:
          title: Documents
          items:
            $ref: '#/components/schemas/QuestionAnswer.QuestionAnswerDocument'
        referenced_docs:
          title: Referenced Docs
          items: {}
        chartable:
          title: Chartable
          anyOf:
            - {}
            - {}
        follow_up_questions:
          title: Follow Up Questions
          anyOf:
            - items: {}
            - {}
        meta:
          title: Meta
          additionalProperties: {}
        config:
          title: Config
          anyOf:
            - additionalProperties: {}
            - {}
        guardrail_violations:
          title: Guardrail Violations
          items: {}
        tag_result:
          $ref: '#/components/schemas/QuestionAnswer.TagResult'
    QuestionAnswer.TagOptions:
      title: TagOptions
      properties:
        execute_query:
          title: Execute Query
          default: false
        validate_query:
          title: Validate Query
          default: false
    QuestionAnswer.ChartGeneratorConfig:
      title: ChartGeneratorConfig
      properties:
        api_base_url:
          title: Api Base Url
          default: http://pegasus-inference-api.dev.uniphorecloud.com/openai/v1
        model:
          title: Model
          default: meta-llama/Llama-3.1-70B-Instruct
        max_tokens:
          title: Max Tokens
          default: 32000
        temperature:
          title: Temperature
          default: 0.3
        top_p:
          title: Top P
          default: 0.9
        frequency_penalty:
          title: Frequency Penalty
          default: 0.2
        presence_penalty:
          title: Presence Penalty
          default: 0.2
        max_retries:
          title: Max Retries
          default: 3
        response_format:
          title: Response Format
          anyOf:
            - additionalProperties: {}
            - {}
          default:
            type: json_schema
            json_schema:
              description: >-
                An answer to the question, plus references to the documents,
                suggested follow-up questions, chart data in json and
                recommended chart type
              name: chart_structured_answer
              schema:
                additionalProperties: false
                properties:
                  chart_json_data:
                    additionalProperties: true
                    default: {}
                    title: Chart Json Data
                    type: object
                  chart_type:
                    default: bar
                    title: Chart Type
                    type: string
                  y_axis_unit:
                    default: Value
                    title: Y Axis Unit
                    type: string
                title: ChartStructuredAnswer
                type: object
              strict: true
        timeout:
          title: Timeout
          default: 30
        http_client_kwargs:
          title: Http Client Kwargs
          anyOf:
            - additionalProperties: {}
            - {}
    QuestionAnswer.RankerOptions:
      title: RankerOptions
      properties:
        top_k:
          title: Top K
          default: 15
        scale_score:
          title: Scale Score
          default: true
        calibration_factor:
          title: Calibration Factor
          default: 1
        score_threshold:
          title: Score Threshold
          default: 0
    QuestionAnswer.ListQuestionsResponse:
      title: ListQuestionsResponse
      required:
        - items
      properties:
        items:
          title: Items
          items:
            $ref: '#/components/schemas/QuestionAnswer.ListQuestionResponseItem'
    QuestionAnswer.ListQuestionResponseItem:
      title: ListQuestionResponseItem
      required:
        - answer
        - id
        - query
      properties:
        id:
          title: Id
        query:
          title: Query
        answer:
          $ref: '#/components/schemas/QuestionAnswer.QuestionAnswerResponse'
    QuestionAnswer.GeneratorOptions:
      title: GeneratorOptions
      properties:
        model:
          title: Model
          default: meta-llama/Llama-3.1-70B-Instruct
        temperature:
          title: Temperature
          default: 0.3
        max_tokens:
          title: Max Tokens
          default: 32000
        api_base_url:
          title: Api Base Url
          default: http://pegasus-inference-api.dev.uniphorecloud.com/openai/v1
        top_p:
          title: Top P
          default: 0.9
    QuestionAnswer.EmbedderOptions:
      title: EmbedderOptions
      properties:
        model:
          title: Model
          default: Snowflake/snowflake-arctic-embed-l-v2.0
        api_base_url:
          title: Api Base Url
          default: http://pegasus-inference-api.dev.uniphorecloud.com/openai/v1/
    QuestionAnswer.QuestionAnswerDocument:
      title: QuestionAnswerDocument
      properties:
        id:
          title: Id
          default: ''
        content:
          title: Content
          anyOf:
            - {}
            - {}
        meta:
          title: Meta
          additionalProperties: {}
        score:
          title: Score
          anyOf:
            - {}
            - {}
    QuestionAnswer.DocStoreOptions:
      title: DocStoreOptions
      required:
        - data
      properties:
        id:
          title: Id
          default: ''
        type:
          title: Type
          default: astradb
        data:
          title: Data
          additionalProperties: {}
    QuestionAnswer.KGEmbedderOptions:
      title: KGEmbedderOptions
      properties:
        model:
          title: Model
          default: Snowflake/snowflake-arctic-embed-l-v2.0
        api_base_url:
          title: Api Base Url
          default: http://pegasus-inference-api.dev.uniphorecloud.com/openai/v1/
        api_key:
          title: Api Key
          default: ''
        max_retries:
          title: Max Retries
          default: 3
    QuestionAnswer.ChartResponse:
      title: ChartResponse
      properties:
        id:
          title: Id
          anyOf:
            - {}
            - {}
        data:
          $ref: '#/components/schemas/QuestionAnswer.ChartStructuredAnswer'
        chart:
          title: Chart
          anyOf:
            - {}
            - {}
    QuestionAnswer.QuestionAnswerRequest:
      title: QuestionAnswerRequest
      required:
        - doc_store
        - query
      properties:
        query:
          title: Query
          anyOf:
            - {}
            - items: {}
        use_kg:
          title: Use Kg
          default: false
        eval:
          title: Eval
          default: false
        doc_store:
          $ref: '#/components/schemas/QuestionAnswer.DocStoreOptions'
        kg_doc_store:
          anyOf:
            - $ref: '#/components/schemas/QuestionAnswer.KGDocStoreOptions'
            - {}
        kg_embedder:
          anyOf:
            - $ref: '#/components/schemas/QuestionAnswer.KGEmbedderOptions'
            - {}
        rag_type:
          $ref: '#/components/schemas/QuestionAnswer.RagType'
        knowledge_base:
          $ref: '#/components/schemas/QuestionAnswer.KnowledgeBaseOptions'
        embedder:
          $ref: '#/components/schemas/QuestionAnswer.EmbedderOptions'
        retriever:
          $ref: '#/components/schemas/QuestionAnswer.RetrieverOptions'
        ranker:
          $ref: '#/components/schemas/QuestionAnswer.RankerOptions'
        generator:
          $ref: '#/components/schemas/QuestionAnswer.GeneratorOptions'
        tag:
          $ref: '#/components/schemas/QuestionAnswer.TagOptions'
        setup:
          title: Setup
          anyOf:
            - {}
            - {}
        rag_prompt:
          title: Rag Prompt
          anyOf:
            - {}
            - {}
        tag_prompt:
          title: Tag Prompt
          anyOf:
            - {}
            - {}
    QuestionAnswer.ValidationError:
      title: ValidationError
      required:
        - loc
        - msg
        - type
      properties:
        loc:
          title: Location
          items:
            anyOf:
              - {}
              - {}
        msg:
          title: Message
        type:
          title: Error Type
    QuestionAnswer.ChartRequest:
      title: ChartRequest
      properties:
        context:
          title: Context
          anyOf:
            - {}
            - additionalProperties: {}
            - {}
        chart_type:
          title: Chart Type
          anyOf:
            - {}
            - {}
        generator:
          anyOf:
            - $ref: '#/components/schemas/QuestionAnswer.ChartGeneratorConfig'
            - {}
        chart_prompt:
          title: Chart Prompt
          anyOf:
            - {}
            - {}
    QuestionAnswer.KGDocStoreOptions:
      title: KGDocStoreOptions
      required:
        - data
      properties:
        id:
          title: Id
          default: ''
        type:
          title: Type
          default: astradb
        data:
          title: Data
          additionalProperties: {}
    QuestionAnswer.RagType:
      title: RagType
      enum:
        - document
        - table
    QuestionAnswer.HTTPValidationError:
      title: HTTPValidationError
      properties:
        detail:
          title: Detail
          items:
            $ref: '#/components/schemas/QuestionAnswer.ValidationError'
    QuestionAnswer.MultiQuestionAnswerResponse:
      title: MultiQuestionAnswerResponse
      required:
        - responses
      properties:
        responses:
          title: Responses
          items:
            $ref: '#/components/schemas/QuestionAnswer.QuestionAnswerResponse'
    QuestionAnswer.ListQuestionsRequest:
      title: ListQuestionsRequest
      properties:
        doc_store_id:
          title: Doc Store Id
          default: ''
        knowledge_base_id:
          title: Knowledge Base Id
          default: ''
        offset:
          title: Offset
          default: 0
        limit:
          title: Limit
          default: 50
        scope:
          title: Scope
          default: all
          enum:
            - all
            - team
            - user
    QuestionAnswer.Feedback:
      title: Feedback
      required:
        - feedback
      properties:
        feedback:
          title: Feedback
        reason:
          title: Reason
          anyOf:
            - {}
            - {}
        comments:
          title: Comments
          anyOf:
            - {}
            - {}
        knowledge_base_id:
          title: Knowledge Base Id
          anyOf:
            - {}
            - {}
    QuestionAnswer.RetrieverOptions:
      title: RetrieverOptions
      properties:
        top_k:
          title: Top K
          default: 80
    QuestionAnswer.KnowledgeBaseOptions:
      title: KnowledgeBaseOptions
      properties:
        id:
          title: Id
          default: ''
    QuestionAnswer.ChartStructuredAnswer:
      title: ChartStructuredAnswer
      properties:
        chart_json_data:
          title: Chart Json Data
          additionalProperties: {}
          default: {}
        chart_type:
          title: Chart Type
          default: bar
        y_axis_unit:
          title: Y Axis Unit
          default: Value
    MetaPrompting.PromptUpdateRequest:
      title: PromptUpdateRequest
      required:
        - content
        - description
        - instruction
        - language
        - prompt_length
        - prompt_type_params
      properties:
        description:
          title: Description
        instruction:
          title: Instruction
        content:
          title: Content
        prompt_type_params:
          title: Prompt Type Params
          additionalProperties: {}
        prompt_length:
          title: Prompt Length
        language:
          title: Language
    MetaPrompting.ListPromptHistoryResponse:
      title: ListPromptHistoryResponse
      required:
        - history
        - total_count
      properties:
        history:
          title: History
          items:
            $ref: '#/components/schemas/MetaPrompting.PromptHistoryModel'
        total_count:
          title: Total Count
    MetaPrompting.PromptVersionModel:
      title: PromptVersionModel
      required:
        - content
        - generation_params
        - insert_by
        - prompt_id
        - status
        - tenant_id
        - version_hash
      properties:
        version_id:
          title: Version Id
          anyOf:
            - {}
            - {}
        prompt_id:
          title: Prompt Id
        tenant_id:
          title: Tenant Id
        version_number:
          title: Version Number
          anyOf:
            - {}
            - {}
        content:
          title: Content
        generation_params:
          title: Generation Params
          additionalProperties: {}
        version_hash:
          title: Version Hash
        status:
          title: Status
        insert_by:
          title: Insert By
        insert_time:
          title: Insert Time
          anyOf:
            - format: date-time
            - {}
        source:
          title: Source
          anyOf:
            - {}
            - {}
    MetaPrompting.PromptGenerateRequest:
      title: PromptGenerateRequest
      required:
        - domain
        - instruction
        - language
        - num_of_prompt
        - prompt_length
        - type
      properties:
        instruction:
          title: Instruction
        prompt_length:
          title: Prompt Length
        language:
          title: Language
        domain:
          title: Domain
        num_of_prompt:
          title: Num Of Prompt
        type:
          title: Type
        prompt_type_params:
          title: Prompt Type Params
          anyOf:
            - additionalProperties: {}
            - {}
    MetaPrompting.PromptCreateRequest:
      title: PromptCreateRequest
      required:
        - category
        - content
        - description
        - domain
        - instruction
        - language
        - title
        - type
      properties:
        title:
          title: Title
        description:
          title: Description
        instruction:
          title: Instruction
        content:
          title: Content
        type:
          title: Type
        category:
          title: Category
        domain:
          title: Domain
        prompt_type_params:
          title: Prompt Type Params
          anyOf:
            - additionalProperties: {}
            - {}
          default: {}
        prompt_length:
          title: Prompt Length
          anyOf:
            - {}
            - {}
          default: 250
        language:
          title: Language
        source:
          title: Source
          anyOf:
            - {}
            - {}
    MetaPrompting.PromptValidateRequest:
      title: PromptValidateRequest
      required:
        - title
      properties:
        title:
          title: Title
    MetaPrompting.PromptHistoryActions:
      title: PromptHistoryActions
      enum:
        - UNKNOWN
        - CREATE_PROMPT
        - UPDATE_DESCRIPTION
        - CREATE_VERSION
        - CREATE_VERSION_AND_UPDATE_DESCRIPTION
        - ACTIVATE_VERSION
    MetaPrompting.PromptResponseMetadata:
      title: PromptResponseMetadata
      required:
        - latest_version_number
      properties:
        latest_version_number:
          title: Latest Version Number
    MetaPrompting.PromptTextTryRequest:
      title: PromptTextTryRequest
      required:
        - model
        - prompt
        - text
      properties:
        prompt:
          title: Prompt
        text:
          title: Text
        model:
          title: Model
    MetaPrompting.HTTPValidationError:
      title: HTTPValidationError
      properties:
        detail:
          title: Detail
          items:
            $ref: '#/components/schemas/MetaPrompting.ValidationError'
    MetaPrompting.PromptAndVersionModel:
      title: PromptAndVersionModel
      required:
        - category
        - description
        - domain
        - insert_by
        - prompt_id
        - status
        - tenant_id
        - title
        - type
        - version
      properties:
        prompt_id:
          title: Prompt Id
        tenant_id:
          title: Tenant Id
        title:
          title: Title
        description:
          title: Description
        type:
          title: Type
        category:
          title: Category
        domain:
          title: Domain
        status:
          title: Status
        version:
          $ref: '#/components/schemas/MetaPrompting.PromptVersionModel'
        insert_by:
          title: Insert By
        insert_time:
          title: Insert Time
          anyOf:
            - format: date-time
            - {}
        update_by:
          title: Update By
          anyOf:
            - {}
            - {}
        update_time:
          title: Update Time
          anyOf:
            - format: date-time
            - {}
    MetaPrompting.PromptResponse:
      title: PromptResponse
      required:
        - metadata
        - prompt
      properties:
        prompt:
          $ref: '#/components/schemas/MetaPrompting.PromptAndVersionModel'
        metadata:
          $ref: '#/components/schemas/MetaPrompting.PromptResponseMetadata'
    MetaPrompting.Body_describe_image_llama_v1_prompts_image_try_post:
      title: Body_describe_image_llama_v1_prompts_image_try_post
      required:
        - image
        - model
        - prompt
      properties:
        image:
          title: Image
          format: binary
        prompt:
          title: Prompt
        model:
          title: Model
    MetaPrompting.ValidationError:
      title: ValidationError
      required:
        - loc
        - msg
        - type
      properties:
        loc:
          title: Location
          items:
            anyOf:
              - {}
              - {}
        msg:
          title: Message
        type:
          title: Error Type
    MetaPrompting.PromptHistoryModel:
      title: PromptHistoryModel
      required:
        - action
        - action_details
        - insert_by
        - prompt_id
        - prompt_title
        - prompt_version_id
        - tenant_id
      properties:
        prompt_history_id:
          title: Prompt History Id
          anyOf:
            - {}
            - {}
        tenant_id:
          title: Tenant Id
        prompt_id:
          title: Prompt Id
        prompt_title:
          title: Prompt Title
        prompt_version_id:
          title: Prompt Version Id
        action:
          $ref: '#/components/schemas/MetaPrompting.PromptHistoryActions'
        action_details:
          title: Action Details
          additionalProperties: {}
        insert_by:
          title: Insert By
        insert_time:
          title: Insert Time
          anyOf:
            - format: date-time
            - {}
    Agents.KnowledgeBase:
      title: KnowledgeBase
      required:
        - id
        - name
      properties:
        id:
          title: ID
          description: Unique identifier for the knowledge base.
        name:
          title: Name
          description: Name of the knowledge base.
    Agents.ToolDefinition:
      title: ToolDefinition
      required:
        - description
        - integration_name
        - name
      properties:
        name:
          title: Name
          description: Human-readable name of the tool.
        integration_name:
          title: Integration Name
          description: Identifier of the integration (e.g., 'serper', 'custom').
        description:
          title: Description
          description: Description of what the tool does.
        result_as_answer:
          title: Result As Answer
          description: >-
            If true, the tool's output should be treated as the agent's final
            answer.
          default: false
      description: Configuration for defining a tool that can be bound to agents or tasks.
    Agents.AgentConfig:
      title: AgentConfig
      required:
        - goal
        - name
        - role
      properties:
        name:
          title: Name
          description: Unique name of the agent.
        role:
          title: Role
          description: Title or function of the agent within the Crew.
        goal:
          title: Goal
          description: Primary objective or responsibility of the agent.
        backstory:
          title: Backstory
          description: Optional narrative to give context and personality to the agent.
          anyOf:
            - {}
            - {}
          default: ''
        tools:
          title: Tools
          description: List of tools this agent is allowed to use.
          anyOf:
            - $ref: '#/components/schemas/Agents.ToolConfig'
            - {}
        llm:
          title: LLM
          description: The language model used to power the agent.
          anyOf:
            - $ref: '#/components/schemas/Agents.LLMConfig'
            - {}
        max_iter:
          title: Max Iterations
          description: >-
            Maximum number of reasoning iterations allowed during task
            execution.
          default: 25
        reasoning:
          title: Reasoning
          description: >-
            If true, the agent will perform reasoning steps before executing
            tasks.
          anyOf:
            - {}
            - {}
          default: false
        max_reasoning_steps:
          title: Max Reasoning Steps
          description: >-
            Maximum number of reasoning steps the agent can take before
            executing a task.
          anyOf:
            - {}
            - {}
          default: 5
        allow_code_execution:
          title: Allow Code Execution
          description: >-
            If true, the agent can execute code as part of its reasoning
            process.
          anyOf:
            - {}
            - {}
          default: false
        code_execution_mode:
          title: Code Execution Mode
          description: >-
            Determines when the agent can execute code: 'safe' (default), or
            'unsafe'.
          anyOf:
            - enum:
                - safe
                - unsafe
            - {}
          default: safe
        max_retry_limit:
          title: Max Retry Limit
          description: >-
            Maximum number of retries allowed for task execution in case of
            failures.
          anyOf:
            - {}
            - {}
          default: 5
        knowledge_bases:
          title: Knowledge Bases
          description: List of knowledge bases that the agent can access.
          anyOf:
            - items:
                $ref: '#/components/schemas/Agents.KnowledgeBase'
            - {}
        tasks:
          title: Tasks
          description: List of task definitions to be executed by the agents.
          anyOf:
            - items:
                $ref: '#/components/schemas/Agents.TaskConfig'
            - {}
        planning:
          title: Planning
          description: If true, the agent can perform planning tasks.
          anyOf:
            - {}
            - {}
          default: true
    Agents.ExecutionInput:
      title: ExecutionInput
      required:
        - id
        - message
      properties:
        id:
          title: Id
        name:
          title: Name
          anyOf:
            - {}
            - {}
        message:
          title: Message
        inputs:
          title: Inputs
          anyOf:
            - additionalProperties: {}
            - {}
          default: {}
    Agents.GeneratorConfig:
      title: GeneratorConfig
      required:
        - message
      properties:
        message:
          title: Message
    Agents.CrewConfig:
      title: CrewConfig
      required:
        - agents
        - description
        - name
        - tasks
      properties:
        name:
          title: Name
          description: Name of the overall crew configuration or scenario.
        description:
          title: Description
          description: Summary of the crew’s purpose and functionality.
        agents:
          title: Agents
          description: List of agent definitions in this crew.
          items:
            $ref: '#/components/schemas/Agents.CrewAgentConfig'
        tasks:
          title: Tasks
          description: List of task definitions to be executed by the agents.
          items:
            $ref: '#/components/schemas/Agents.TaskConfig'
        process:
          title: Process
          description: 'Execution strategy: ''sequential'' or ''hierarchical''.'
          default: sequential
          enum:
            - sequential
            - hierarchical
        function_calling_llm:
          title: Function Calling LLM
          description: LLM used for any function-calling tasks or operations.
          default: gpt-4o-mini
        manager_agent:
          title: Manager Agent
          description: Name of the agent acting as the manager.
          anyOf:
            - {}
            - {}
        manager_llm:
          title: Manager LLM
          description: LLM used specifically for the manager agent.
          anyOf:
            - {}
            - {}
        planning:
          title: Planning
          description: Enables dynamic planning of task execution by the manager agent.
          anyOf:
            - {}
            - {}
        planning_llm:
          title: Planning LLM
          description: LLM used specifically for dynamic planning.
          anyOf:
            - {}
            - {}
      description: Configuration schema for CrewAI agents, tasks, and crew setup.
    Agents.LLMConfig:
      title: LLMConfig
      required:
        - llm
        - output_token_limit
        - provider
        - temperature
        - top_p
      properties:
        provider:
          title: Provider
          description: >-
            The name of the LLM service provider (e.g., OpenAI, Anthropic,
            Google
        llm:
          title: LLM
          description: The specific model to be used (e.g., gpt-4, claude-3-opus
        top_p:
          title: Top P
          description: >-
            The nucleus sampling value to control diversity. Typically a float
            string.
        temperature:
          title: Temperature
          description: >-
            Controls randomness in output generation; higher values = more
            randomness.
        output_token_limit:
          title: Output Token Limit
          description: >-
            Maximum number of tokens the model is allowed to generate in a
            response.
      description: Configuration for defining a LLM that can be bound to agents.
    Agents.TaskConfig:
      title: TaskConfig
      required:
        - agent
        - description
        - name
      properties:
        name:
          title: Name
          description: Unique identifier for the task.
        description:
          title: Description
          description: Instructions or objectives for the task.
        agent:
          title: Agent
          description: Name of the agent responsible for executing the task.
        expected_output:
          title: Expected Output
          description: Description of the desired output format or structure.
          anyOf:
            - {}
            - {}
        async_execution:
          title: Async Execution
          description: If true, the task can be executed asynchronously.
          default: false
        tools:
          title: Tools
          description: List of tools specific to this task.
          anyOf:
            - $ref: '#/components/schemas/Agents.ToolConfig'
            - {}
        context:
          title: Context
          description: >-
            List of prior task names whose outputs are needed as context for
            this task.
          items: {}
        human_input:
          title: Human Input
          description: If true, the task expects manual human input or approval.
          default: false
        markdown:
          title: Markdown
          description: If true, the task output should be formatted in Markdown.
          default: false
        output_format:
          title: Output Format
          description: 'Format of the task output: ''markdown'' or ''json''.'
          anyOf:
            - enum:
                - markdown
                - json
            - {}
        output_json_structure:
          title: Output JSON Structure
          description: >-
            Dictionary defining the structure of the expected JSON output, if
            output_format is 'json'.
          anyOf:
            - additionalProperties: {}
            - {}
        output_json_schema:
          title: Output JSON Schema
          description: >-
            JSON schema defining the structure of the expected output, if
            output_format is 'json'.
          anyOf:
            - additionalProperties: {}
            - {}
      description: Definition of a task to be executed by an agent.
    Agents.HTTPValidationError:
      title: HTTPValidationError
      properties:
        detail:
          title: Detail
          items:
            $ref: '#/components/schemas/Agents.ValidationError'
    Agents.ToolConfig:
      title: ToolConfig
      properties:
        tool_ids:
          title: Tool IDs
          description: List of pre-registered tool identifiers
          anyOf:
            - items: {}
            - {}
        tool_definitions:
          title: Tool Definitions
          description: List of tool definitions to be used directly
          anyOf:
            - items:
                $ref: '#/components/schemas/Agents.ToolDefinition'
            - {}
    Agents.CrewAgentConfig:
      title: CrewAgentConfig
      required:
        - goal
        - name
        - role
      properties:
        name:
          title: Name
          description: Unique name of the agent.
        role:
          title: Role
          description: Title or function of the agent within the Crew.
        goal:
          title: Goal
          description: Primary objective or responsibility of the agent.
        backstory:
          title: Backstory
          description: Optional narrative to give context and personality to the agent.
          anyOf:
            - {}
            - {}
          default: ''
        tools:
          title: Tools
          description: List of tools this agent is allowed to use.
          anyOf:
            - $ref: '#/components/schemas/Agents.ToolConfig'
            - {}
        llm:
          title: LLM
          description: The language model used to power the agent.
          anyOf:
            - $ref: '#/components/schemas/Agents.LLMConfig'
            - {}
        max_iter:
          title: Max Iterations
          description: >-
            Maximum number of reasoning iterations allowed during task
            execution.
          default: 25
        reasoning:
          title: Reasoning
          description: >-
            If true, the agent will perform reasoning steps before executing
            tasks.
          anyOf:
            - {}
            - {}
          default: false
        max_reasoning_steps:
          title: Max Reasoning Steps
          description: >-
            Maximum number of reasoning steps the agent can take before
            executing a task.
          anyOf:
            - {}
            - {}
          default: 5
        allow_code_execution:
          title: Allow Code Execution
          description: >-
            If true, the agent can execute code as part of its reasoning
            process.
          anyOf:
            - {}
            - {}
          default: false
        code_execution_mode:
          title: Code Execution Mode
          description: >-
            Determines when the agent can execute code: 'safe' (default), or
            'unsafe'.
          anyOf:
            - enum:
                - safe
                - unsafe
            - {}
          default: safe
        max_retry_limit:
          title: Max Retry Limit
          description: >-
            Maximum number of retries allowed for task execution in case of
            failures.
          anyOf:
            - {}
            - {}
          default: 5
        knowledge_bases:
          title: Knowledge Bases
          description: List of knowledge bases that the agent can access.
          anyOf:
            - items:
                $ref: '#/components/schemas/Agents.KnowledgeBase'
            - {}
      description: Definition of an agent within the Crew.
    Agents.ValidationError:
      title: ValidationError
      required:
        - loc
        - msg
        - type
      properties:
        loc:
          title: Location
          items:
            anyOf:
              - {}
              - {}
        msg:
          title: Message
        type:
          title: Error Type
    UserManagement.Criterion:
      type: object
      properties:
        name:
          type: string
        operator:
          type: string
        value:
          type: string
        valueType:
          type: string
    UserManagement.AdvSearchRequest:
      type: object
      properties:
        searchString:
          type: string
        entity:
          type: string
        durationFlag:
          type: string
        criteria:
          type: array
          items:
            $ref: '#/components/schemas/UserManagement.Criterion'
        sort:
          type: array
          items:
            $ref: '#/components/schemas/UserManagement.SortObject'
        pagination:
          $ref: '#/components/schemas/UserManagement.Pagination'
    UserManagement.Pagination:
      type: object
      properties:
        page:
          type: integer
          format: int32
        size:
          type: integer
          format: int32
    UserManagement.SortObject:
      type: object
      properties:
        direction:
          type: string
        nullHandling:
          type: string
        ascending:
          type: boolean
        property:
          type: string
        ignoreCase:
          type: boolean
    UserManagement.IdNameDTO:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        domain:
          type: string
        url:
          type: string
        logoUrl:
          type: string
    UserManagement.UserResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
        email:
          type: string
        source:
          type: string
        version:
          type: number
          format: float
        tenantId:
          type: string
          format: uuid
        userName:
          type: string
        firstName:
          type: string
        lastName:
          type: string
        fullName:
          type: string
        firstTimeLogin:
          type: boolean
        expired:
          type: boolean
        status:
          type: string
        role:
          type: array
          items:
            $ref: '#/components/schemas/UserManagement.IdNameDTO'
        externalIdToken:
          type: array
          items:
            type: object
            additionalProperties:
              type: string
    UserManagement.UserRequest:
      type: object
      properties:
        id:
          type: string
          format: uuid
        userId:
          type: string
          format: uuid
        email:
          type: string
        source:
          type: string
        version:
          type: number
          format: float
        tenantId:
          type: string
          format: uuid
        userName:
          type: string
        firstName:
          type: string
        lastName:
          type: string
        fullName:
          type: string
        firstTimeLogin:
          type: boolean
        expired:
          type: boolean
        status:
          type: string
        role:
          type: array
          items:
            type: string
            format: uuid
        externalIdToken:
          type: object
          additionalProperties:
            type: string
    Darwin.ActionDetails:
      title: ActionDetails
      properties:
        endpoint:
          title: Endpoint
          anyOf:
            - {}
            - {}
        method:
          title: Method
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        parameters:
          title: Parameters
          anyOf:
            - items:
                $ref: '#/components/schemas/Darwin.Parameter'
            - {}
        input_json_properties:
          title: Input Json Properties
          anyOf:
            - items:
                $ref: '#/components/schemas/Darwin.JsonProperties'
            - {}
        output_json_responses:
          title: Output Json Responses
          anyOf:
            - items:
                $ref: '#/components/schemas/Darwin.JsonResponses'
            - {}
    Darwin.Body_Upload_Openapi_Spec_file_v1_actions_openapi_file_upload_post:
      title: Body_Upload_Openapi_Spec_file_v1_actions_openapi_file_upload_post
      required:
        - file
      properties:
        file:
          title: File
          description: A openApi file as UploadFile
          format: binary
    Darwin.Action:
      title: Action
      properties:
        id:
          title: Id
          anyOf:
            - {}
            - {}
        name:
          title: Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        is_active:
          title: Is Active
          anyOf:
            - {}
            - {}
        provider:
          title: Provider
          anyOf:
            - {}
            - {}
        integration_name:
          title: Integration Name
          anyOf:
            - {}
            - {}
        connected:
          title: Connected
          anyOf:
            - {}
            - {}
        created_timestamp:
          title: Created Timestamp
          anyOf:
            - {}
            - {}
    Darwin.ActionsAsFunctionsRequest:
      title: ActionsAsFunctionsRequest
      required:
        - integrations
      properties:
        integrations:
          title: Integrations
          additionalProperties:
            items: {}
    Darwin.Error:
      title: Error
      required:
        - code
        - type
        - value
      properties:
        code:
          title: Code
        type:
          title: Type
        value:
          title: Value
          anyOf:
            - {}
            - additionalProperties: {}
            - {}
    Darwin.ActionRequest:
      title: ActionRequest
      properties:
        name:
          title: Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        provider:
          title: Provider
          anyOf:
            - {}
            - {}
        integration_name:
          title: Integration Name
          anyOf:
            - {}
            - {}
    Darwin.CommonResponse:
      title: CommonResponse
      properties:
        status:
          title: Status
          anyOf:
            - {}
            - {}
        id:
          title: id
          anyOf:
            - {}
            - {}
    Darwin.ActionExecuteRequest:
      title: ActionExecuteRequest
      properties:
        execution_id:
          title: ExecutionId
          anyOf:
            - {}
            - {}
        context_id:
          title: ContextId
          anyOf:
            - {}
            - {}
        action_name:
          title: Action Name
          anyOf:
            - {}
            - {}
        integration_name:
          title: Integration Name
          anyOf:
            - {}
            - {}
        message:
          title: Message
          anyOf:
            - {}
            - {}
        disable_llm_parse:
          title: Disable llm Parse
          anyOf:
            - {}
            - {}
          default: false
    Darwin.ExecuteActionRequest:
      title: ExecuteActionRequest
      required:
        - action_id
        - action_name
        - action_params
        - integration_name
        - message
        - user_id
      properties:
        action_id:
          title: Action Id
        action_name:
          title: Action Name
        integration_name:
          title: Integration Name
        user_id:
          title: User Id
        action_params:
          title: Action Params
          additionalProperties: {}
        message:
          title: Message
        encode_credentials:
          title: Encode Credentials
          anyOf:
            - {}
            - {}
        tenant_id:
          title: Tenant Id
          anyOf:
            - {}
            - {}
        timezone:
          title: Timezone
          anyOf:
            - {}
            - {}
        execution_id:
          title: Execution Id
          anyOf:
            - {}
            - {}
    Darwin.JsonProperties:
      title: JsonProperties
      properties:
        name:
          title: Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        type:
          title: Type
          anyOf:
            - {}
            - {}
        required:
          title: Required
          anyOf:
            - {}
            - {}
    Darwin.WorkatoUserConnectionMapper:
      title: WorkatoUserConnectionMapper
      properties:
        connection_id:
          title: Connection Id
        integration_name:
          title: Integration Name
    Darwin.Parameter:
      title: Parameter
      properties:
        name:
          title: Name
          anyOf:
            - {}
            - {}
        param_type:
          title: ParamType
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        default_value:
          title: DefaultValue
          anyOf:
            - {}
            - {}
        enum:
          title: Enum
          anyOf:
            - items: {}
            - {}
        type:
          title: Type
          anyOf:
            - {}
            - {}
        required:
          title: Required
          anyOf:
            - {}
            - {}
        items:
          title: Items
          description: >-
            For array type parameters, this field contains the schema of the
            items in the array. It is optional and can be used to provide
            additional details about the items in the array parameter.
          anyOf:
            - additionalProperties: {}
            - {}
    Darwin.ResponseValue:
      title: ResponseValue
      properties:
        string_response:
          title: String Response
          anyOf:
            - {}
            - {}
        int_response:
          title: Int Response
          anyOf:
            - {}
            - {}
        float_response:
          title: Float Response
          anyOf:
            - {}
            - {}
        bool_response:
          title: Bool Response
          anyOf:
            - {}
            - {}
        object_response:
          title: Object Response
          anyOf:
            - additionalProperties: {}
            - {}
        list_response:
          title: List Response
          anyOf:
            - items: {}
            - {}
        response_type:
          title: Response Type
          anyOf:
            - {}
            - {}
    Darwin.ActionExecutioResponse:
      title: ActionExecutioResponse
      required:
        - action
        - status
      properties:
        action:
          title: Action
        status:
          title: Status
        response:
          anyOf:
            - $ref: '#/components/schemas/Darwin.ResponseValue'
            - {}
    Darwin.JsonResponses:
      title: JsonResponses
      properties:
        status_code:
          title: Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        properties:
          title: Properties
          anyOf:
            - items:
                $ref: '#/components/schemas/Darwin.JsonProperties'
            - {}
    Darwin.ExecuteActionResponse:
      title: ExecuteActionResponse
      required:
        - action_name
        - integration_name
      properties:
        integration_name:
          title: Integration Name
        action_name:
          title: Action Name
        data:
          anyOf:
            - $ref: '#/components/schemas/Darwin.Data'
            - {}
        error:
          anyOf:
            - $ref: '#/components/schemas/Darwin.Error'
            - {}
    Darwin.ActionParametersRequest:
      title: ActionParametersRequest
      properties:
        action_name:
          title: Action Name
          anyOf:
            - {}
            - {}
        integration_name:
          title: Integration Name
          anyOf:
            - {}
            - {}
    Darwin.Data:
      title: Data
      required:
        - type
        - value
      properties:
        type:
          title: Type
        value:
          title: Value
          anyOf:
            - {}
            - additionalProperties: {}
            - items: {}
            - {}
    Darwin.ValidationError:
      title: ValidationError
      required:
        - loc
        - msg
        - type
      properties:
        loc:
          title: Location
          items:
            anyOf:
              - {}
              - {}
        msg:
          title: Message
        type:
          title: Error Type
    Darwin.Integration:
      title: Integration
      properties:
        integration_name:
          title: Integration Name
          anyOf:
            - {}
            - {}
        action_count:
          title: Action Count
          anyOf:
            - {}
            - {}
    Darwin.HTTPValidationError:
      title: HTTPValidationError
      properties:
        detail:
          title: Detail
          items:
            $ref: '#/components/schemas/Darwin.ValidationError'
    Orchestrator.CountResponse:
      title: CountResponse
      required:
        - count
      properties:
        count:
          title: Count
    Orchestrator.IntegrationRequest:
      title: IntegrationRequest
      properties:
        name:
          title: Name
        description:
          title: Description
          anyOf:
            - {}
            - {}
        provider:
          title: Provider
        access_level:
          title: access_level (tenant, user)
        authentication_required:
          title: authentication_required
          default: false
    Orchestrator.JsonPropertyRequest:
      title: JsonPropertyRequest
      properties:
        name:
          title: Name
          anyOf:
            - {}
            - {}
        value:
          title: Description
          anyOf:
            - {}
            - {}
    Orchestrator.ActionParameter:
      title: ActionParameter
      required:
        - description
        - name
        - type
      properties:
        name:
          title: Name
        type:
          title: Type
        description:
          title: Description
    Orchestrator.ActionCodeSnippetRequest:
      title: ActionCodeSnippetRequest
      properties:
        action_name:
          title: Action Name
          anyOf:
            - {}
            - {}
        integration_name:
          title: Integration name
          anyOf:
            - {}
            - {}
    Orchestrator.ActionResponse:
      title: ActionResponse
      required:
        - description
        - properties
        - status_code
      properties:
        status_code:
          title: Status Code
        description:
          title: Description
        properties:
          title: Properties
          anyOf:
            - items:
                $ref: '#/components/schemas/Orchestrator.ActionParameter'
            - {}
    Orchestrator.UploadFileResponse:
      title: UploadFileResponse
      properties:
        id:
          title: Id
          anyOf:
            - {}
            - {}
    Orchestrator.WorkatoUserConnectionMapper:
      title: WorkatoUserConnectionMapper
      properties:
        connection_id:
          title: Connection Id
          anyOf:
            - {}
            - {}
        integration_id:
          title: Integration Id
          anyOf:
            - {}
            - {}
        customer_id:
          title: Customer Id
          anyOf:
            - {}
            - {}
    Orchestrator.ResponseValue:
      title: ResponseValue
      properties:
        string_response:
          title: String Response
          anyOf:
            - {}
            - {}
        int_response:
          title: Int Response
          anyOf:
            - {}
            - {}
        float_response:
          title: Float Response
          anyOf:
            - {}
            - {}
        bool_response:
          title: Bool Response
          anyOf:
            - {}
            - {}
        object_response:
          title: Object Response
          anyOf:
            - additionalProperties: {}
            - {}
        list_response:
          title: List Response
          anyOf:
            - items: {}
            - {}
        response_type:
          title: Response Type
          anyOf:
            - {}
            - {}
    Orchestrator.ActionsAsFunctionsRequest:
      title: ActionsAsFunctionsRequest
      required:
        - integrations
      properties:
        integrations:
          title: Integrations
          additionalProperties:
            items: {}
    Orchestrator.HTTPValidationError:
      title: HTTPValidationError
      properties:
        detail:
          title: Detail
          items:
            $ref: '#/components/schemas/Orchestrator.ValidationError'
    Orchestrator.MPCServerResponse:
      title: MPCServerResponse
      properties:
        id:
          title: Id
          anyOf:
            - {}
            - {}
        name:
          title: Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        connected:
          title: Connected
          anyOf:
            - {}
            - {}
    Orchestrator.ValidationError:
      title: ValidationError
      required:
        - loc
        - msg
        - type
      properties:
        loc:
          title: Location
          items:
            anyOf:
              - {}
              - {}
        msg:
          title: Message
        type:
          title: Error Type
    Orchestrator.ActionExecutionRequest:
      title: ActionExecutionRequest
      properties:
        execution_id:
          title: ExecutionId
          anyOf:
            - {}
            - {}
        context_id:
          title: ContextId
          anyOf:
            - {}
            - {}
        action_name:
          title: Action Name
          anyOf:
            - {}
            - {}
        integration_name:
          title: Integration name
          anyOf:
            - {}
            - {}
        message:
          title: Message
          anyOf:
            - {}
            - {}
        disable_llm_parse:
          title: Disable llm Parse
          anyOf:
            - {}
            - {}
          default: false
    Orchestrator.McpRegistryConnection:
      title: McpRegistryConnection
      properties:
        registry_url:
          title: Registry Url
          anyOf:
            - {}
            - {}
        api_key:
          title: Api Key
          anyOf:
            - {}
            - {}
        connected:
          title: Connected
          anyOf:
            - {}
            - {}
    Orchestrator.ServerRegistryRequest:
      title: ServerRegistryRequest
      properties:
        integration_name:
          title: Integration Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        access_level:
          title: access_level (tenant, user)
          anyOf:
            - {}
            - {}
        qualified_name:
          title: Qualified Name
          anyOf:
            - {}
            - {}
        properties:
          title: Properties
          anyOf:
            - items:
                $ref: '#/components/schemas/Orchestrator.JsonPropertyRequest'
            - {}
        json_content:
          title: Json
          anyOf:
            - {}
            - {}
    Orchestrator.IntegrationResourcesRequest:
      title: IntegrationResourcesRequest
      properties:
        integrations:
          title: integrations Name
          items: {}
    Orchestrator.Action:
      title: Action
      properties:
        id:
          title: Id
          anyOf:
            - {}
            - {}
        name:
          title: Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        provider:
          title: Provider
          anyOf:
            - {}
            - {}
        integration_name:
          title: Integration Name
          anyOf:
            - {}
            - {}
        connected:
          title: Connected
          anyOf:
            - {}
            - {}
        registry_provider:
          title: Registry Provider
          anyOf:
            - {}
            - {}
        created_timestamp:
          title: Created Timestamp
          anyOf:
            - {}
            - {}
    Orchestrator.ActionExecutioResponse:
      title: ActionExecutioResponse
      required:
        - action
        - status
      properties:
        action:
          title: Action
        status:
          title: Status
        response:
          anyOf:
            - $ref: '#/components/schemas/Orchestrator.ResponseValue'
            - {}
    Orchestrator.ActionRequest:
      title: ActionRequest
      properties:
        name:
          title: Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        integration_id:
          title: Integration Id
          anyOf:
            - {}
            - {}
    Orchestrator.JsonProperties:
      title: JsonProperties
      properties:
        name:
          title: Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        type:
          title: Type
          anyOf:
            - {}
            - {}
        required:
          title: Required
          anyOf:
            - {}
            - {}
        value:
          title: Description
          anyOf:
            - {}
            - {}
    Orchestrator.MPCServer:
      title: MPCServer
      properties:
        name:
          title: Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        provider:
          title: Provider
          anyOf:
            - {}
            - {}
        qualified_name:
          title: Qualified Name
          anyOf:
            - {}
            - {}
        properties:
          title: Properties
          anyOf:
            - items:
                $ref: '#/components/schemas/Orchestrator.JsonProperties'
            - {}
        connected:
          title: Connected
          anyOf:
            - {}
            - {}
    Orchestrator.Category:
      title: Category
      properties:
        id:
          title: Id
          anyOf:
            - {}
            - {}
        name:
          title: Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        is_active:
          title: Is Active
          anyOf:
            - {}
            - {}
        created_timestamp:
          title: Created Timestamp
          anyOf:
            - {}
            - {}
        integration_count:
          title: Integration Count
          anyOf:
            - {}
            - {}
    Orchestrator.CommonResponse:
      title: CommonResponse
      properties:
        status:
          title: Status
          anyOf:
            - {}
            - {}
        id:
          title: Id
          anyOf:
            - {}
            - {}
        message:
          title: Message
          anyOf:
            - {}
            - {}
        connected:
          title: Connected
          anyOf:
            - {}
            - {}
    Orchestrator.Integration:
      title: Integration
      properties:
        id:
          title: Id
          anyOf:
            - {}
            - {}
        name:
          title: Name
          anyOf:
            - {}
            - {}
        workato_name:
          title: Workato Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        is_active:
          title: Is Active
          anyOf:
            - {}
            - {}
        provider:
          title: Provider
          anyOf:
            - {}
            - {}
        service_provider:
          title: service provider
          anyOf:
            - {}
            - {}
        created_timestamp:
          title: Created Timestamp
          anyOf:
            - {}
            - {}
        category_name:
          title: Category Name
          anyOf:
            - {}
            - {}
        action_count:
          title: Action Count
          anyOf:
            - {}
            - {}
        access_level:
          title: access_level (tenant, user)
          anyOf:
            - {}
            - {}
        resource_required:
          title: Resource Required
          anyOf:
            - {}
            - {}
        resource_type:
          title: Resource Type
          anyOf:
            - {}
            - {}
        upload_resource:
          title: Upload Resource
          anyOf:
            - {}
            - {}
        authentication_required:
          title: Authentication Required
          anyOf:
            - {}
            - {}
    Orchestrator.ServerRegistryResponse:
      title: ServerRegistryResponse
      properties:
        integration_name:
          title: Integration Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        qualified_name:
          title: Qualified Name
          anyOf:
            - {}
            - {}
        properties:
          title: Properties
          anyOf:
            - items:
                $ref: '#/components/schemas/Orchestrator.JsonProperties'
            - {}
        json_content:
          title: Json
          anyOf:
            - {}
            - {}
    Orchestrator.Body_Upload_the_file_resource_v1_actions_resource_upload_post:
      title: Body_Upload_the_file_resource_v1_actions_resource_upload_post
      required:
        - file
      properties:
        file:
          title: File
          description: Upload the File
          format: binary
    Orchestrator.ActionCodeSnippetResponse:
      title: ActionCodeSnippetResponse
      properties:
        code_snippets:
          title: Code Snippets
          anyOf:
            - items:
                $ref: '#/components/schemas/Orchestrator.ActionCodeSnippet'
            - {}
        parameters:
          title: Parameters
          anyOf:
            - items:
                $ref: '#/components/schemas/Orchestrator.ActionParameter'
            - {}
        responses:
          title: Responses
          anyOf:
            - items:
                $ref: '#/components/schemas/Orchestrator.ActionResponse'
            - {}
    Orchestrator.ActionCodeSnippet:
      title: ActionCodeSnippet
      required:
        - code_snippet
        - language_type
      properties:
        code_snippet:
          title: Code Snippet
        language_type:
          title: Language Type
    Orchestrator.Body_Upload_Openapi_Spec_file_v1_actions_openapi_file_upload_post:
      title: Body_Upload_Openapi_Spec_file_v1_actions_openapi_file_upload_post
      required:
        - file
      properties:
        file:
          title: File
          description: A openApi file as UploadFile
          format: binary
    Tag.APIErrorResponse:
      title: APIErrorResponse
      required:
        - error
        - status_code
        - timestamp
      properties:
        success:
          title: Success
          default: false
        status_code:
          title: Status Code
        error:
          $ref: '#/components/schemas/Tag.ErrorDetailsModel'
        timestamp:
          title: Timestamp
    Tag.TableRelationshipsParameterModel:
      title: TableRelationshipsParameterModel
      required:
        - relationships
      properties:
        relationships:
          title: Relationships
          description: List of table relationships
          items:
            $ref: '#/components/schemas/Tag.Relationship'
    Tag.APIResponseModel:
      title: APIResponseModel
      required:
        - message
        - success
      properties:
        success:
          title: Success
        message:
          title: Message
        result:
          title: Result
          anyOf:
            - {}
            - {}
    Tag.Body_update_descriptions_api_v1_tag_update_descriptions_post:
      title: Body_update_descriptions_api_v1_tag_update_descriptions_post
      required:
        - table_name
      properties:
        connection_id:
          title: Connection Id
          anyOf:
            - {}
            - {}
        knowledge_base_id:
          title: Knowledge Base Id
          anyOf:
            - {}
            - {}
        table_name:
          title: Table Name
        tag_knowledge_base_id:
          title: Tag Knowledge Base Id
          anyOf:
            - {}
            - {}
        columns:
          title: Columns
          anyOf:
            - items: {}
            - {}
        table_description:
          title: Table Description
          anyOf:
            - {}
            - {}
    Tag.ConnectionPayload:
      title: ConnectionPayload
      required:
        - source_id
      properties:
        source_id:
          title: Source Id
          description: Source ID
        knowledge_base_id:
          title: Knowledge Base Id
          description: knowledge base ID coming from X Forge
          anyOf:
            - {}
            - {}
        connection_id:
          title: Connection Id
          anyOf:
            - {}
            - {}
        auto_generate_dictionary:
          title: Auto Generate Dictionary
          default: false
        type:
          title: Type
          default: postgresql
        description:
          title: Description
          anyOf:
            - {}
            - {}
        source_schema:
          title: Source Schema
          anyOf:
            - {}
            - {}
          default: public
        source_database:
          title: Source Database
          anyOf:
            - {}
            - {}
        profiling_enabled:
          title: Profiling Enabled
          default: false
        generate_dictionary_prompt:
          title: Generate Dictionary Prompt
          anyOf:
            - {}
            - {}
        recrawl_schema:
          title: Recrawl Schema
          default: false
        table_names:
          title: Table Names
          anyOf:
            - items: {}
            - {}
    Tag.ValidationError:
      title: ValidationError
      required:
        - loc
        - msg
        - type
      properties:
        loc:
          title: Location
          items:
            anyOf:
              - {}
              - {}
        msg:
          title: Message
        type:
          title: Error Type
    Tag.Body_update_table_relationships_api_v1_tag_update_table_relationships_post:
      title: >-
        Body_update_table_relationships_api_v1_tag_update_table_relationships_post
      required:
        - table_relationships
      properties:
        connection_id:
          title: Connection Id
          anyOf:
            - {}
            - {}
        knowledge_base_id:
          title: Knowledge Base Id
          anyOf:
            - {}
            - {}
        table_relationships:
          $ref: '#/components/schemas/Tag.TableRelationshipsParameterModel'
    Tag.HTTPValidationError:
      title: HTTPValidationError
      properties:
        detail:
          title: Detail
          items:
            $ref: '#/components/schemas/Tag.ValidationError'
    Tag.Body_fetch_tables_api_v1_tag_fetch_tables_post:
      title: Body_fetch_tables_api_v1_tag_fetch_tables_post
      required:
        - source_id
      properties:
        source_id:
          title: Source Id
        source_database:
          title: Source Database
        source_schema:
          title: Source Schema
    Tag.Relationship:
      title: Relationship
      required:
        - from_column
        - from_table
        - to_column
        - to_table
      properties:
        from_table:
          title: From Table
          description: Source table name
        from_column:
          title: From Column
          description: Column in the source table
        to_table:
          title: To Table
          description: Target/related table name
        to_column:
          title: To Column
          description: Column in the target table
        relationship_type:
          title: Relationship Type
          description: Type of relationship (foreign_key | inferred | business_logic)
          anyOf:
            - {}
            - {}
        description:
          title: Description
          description: Brief human-readable description
          anyOf:
            - {}
            - {}
    Tag.Body_upload_csv_api_v1_tag_upload_csv_post:
      title: Body_upload_csv_api_v1_tag_upload_csv_post
      required:
        - files
      properties:
        files:
          title: Files
          items:
            format: binary
        connection_id:
          title: Connection Id
          anyOf:
            - {}
            - {}
        knowledge_base_id:
          title: Knowledge Base Id
          anyOf:
            - {}
            - {}
    Tag.ErrorDetailsModel:
      title: ErrorDetailsModel
      required:
        - details
        - error_code
        - message
      properties:
        error_code:
          title: Error Code
        message:
          title: Message
        details:
          title: Details
    Tag.GetTableRelationshipsPayload:
      title: GetTableRelationshipsPayload
      properties:
        connection_id:
          title: Connection Id
          anyOf:
            - {}
            - {}
        knowledge_base_id:
          title: Knowledge Base Id
          anyOf:
            - {}
            - {}
        client:
          title: Client
          anyOf:
            - {}
            - {}
        model:
          title: Model
          anyOf:
            - {}
            - {}
    Tag.Body_get_table_description_api_v1_tag_get_table_description_post:
      title: Body_get_table_description_api_v1_tag_get_table_description_post
      required:
        - table_names
      properties:
        connection_id:
          title: Connection Id
          anyOf:
            - {}
            - {}
        knowledge_base_id:
          title: Knowledge Base Id
          anyOf:
            - {}
            - {}
        table_names:
          title: Table Names
          items: {}
    PlatformConfig.DocumentContext:
      properties:
        content:
          description: Content of the document chunk
          example: This is a relevant paragraph from the document.
        doc_name:
          description: Name of the document
          example: user_manual.pdf
        score:
          description: Relevance score of the document chunk
          format: double
          example: 0.9982209929893932
      description: Document chunk used as context for the answer
    PlatformConfig.ConfigurationRequest:
      required:
        - config
        - knowledgeBaseId
        - type
      properties:
        knowledgeBaseId:
          description: Knowledge Base Id
          example: c72ab301-4658-4252-9f5f-aeb742bd38d9
        type:
          description: Type of the configuration
          example: GUARDRAIL
        config:
          description: Configuration
          example: json object
      description: Request object for create configuration
    PlatformConfig.JsonNode: {}
    PlatformConfig.ConnectorUpdateReq:
      properties:
        connectorId:
          minLength: 1
          description: Connector ID to update
          example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
        tenantId:
          minLength: 1
          description: Tenant ID of the user
          example: tenant-123
        userId:
          description: User ID of the requester
          example: user-456
        description:
          description: Description of the connector
          example: This is an updated sample connector
        name:
          description: Updated name of the connector
          example: Updated S3 Source
        type:
          description: Updated type of the connector
          example: s3
        config:
          $ref: '#/components/schemas/PlatformConfig.JsonNode'
      description: Request object for updating a Connector
    PlatformConfig.AskQuestionRequest:
      properties:
        tenantId:
          minLength: 1
          description: Tenant ID of the user
          example: tenant-123
        userId:
          minLength: 1
          description: User ID of the requester
          example: user-456
        question:
          minLength: 1
          description: User query to be answered
          example: How do I reset my password?
        knowledgeBaseId:
          minLength: 1
          description: KnowledgeBase Identifier
          example: c72ab301-4658-4252-9f5f-aeb742bd38d9
        ragPrompt:
          description: Document RAG system prompy
          example: you are intelliget system prompt....
      description: Request object for asking a question
    PlatformConfig.SourceConnectorCreateReq:
      properties:
        tenantId:
          description: Tenant ID of the user
          example: tenant-123
        userId:
          description: User ID of the requester
          example: user-456
        description:
          description: Description of the connector
          example: This is a sample connector
        type:
          minLength: 1
          description: Type of the connector
          example: s3
        name:
          description: Name of the connector
          example: My S3 Source
        config:
          $ref: '#/components/schemas/PlatformConfig.JsonNode'
        sourceType:
          minLength: 1
          description: Source type
          example: RELATIONAL DB
      description: Request object for creating a Source Connector
    PlatformConfig.AskQuestionResponse:
      properties:
        questionId:
          description: Unique identifier for the question
          example: 4d649cd3-54b8-4295-8dd7-23da0f913de4
        answer:
          description: Generated answer from the RAG system
          example: To reset your password, go to Settings > Security > Reset Password.
        chartable:
          description: whether genearatred answer has chart available or not
          example: true
        chart:
          description: chart data
          example: >-
            iVBORw0KGgoAAAANSUhEUgAAC7gAAAcICAYAAACsf4x4AAAAOnRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjEwLjMsIGh0dHBzOi8vbWF0cGxvdGxpYi5vcmcvZiW
        context:
          description: List of document chunks that formed the context for the answer
          items:
            $ref: '#/components/schemas/PlatformConfig.DocumentContext'
        followUpQuestions:
          description: List of follow-up questions that can be asked post QnA
          example:
            - What is the next step?
            - Can you elaborate on that?
          items: {}
        tag_result:
          $ref: '#/components/schemas/PlatformConfig.TagGetQueryResponse'
      description: Response object from QnA service after processing a question
    PlatformConfig.ServerSentEventJobRes: {}
    PlatformConfig.Config:
      properties:
        settings:
          additionalProperties: {}
    PlatformConfig.ConnectorCreateReq:
      properties:
        tenantId:
          description: Tenant ID of the user
          example: tenant-123
        userId:
          description: User ID of the requester
          example: user-456
        description:
          description: Description of the connector
          example: This is a sample connector
        type:
          minLength: 1
          description: Type of the connector
          example: s3
        name:
          description: Name of the connector
          example: My S3 Source
        config:
          $ref: '#/components/schemas/PlatformConfig.JsonNode'
      description: Request object for creating a Connector
    PlatformConfig.ServerSentEventConnectorStatusRes: {}
    PlatformConfig.SourceConnectorUpdateReq:
      properties:
        connectorId:
          minLength: 1
          description: Connector ID to update
          example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
        tenantId:
          minLength: 1
          description: Tenant ID of the user
          example: tenant-123
        userId:
          description: User ID of the requester
          example: user-456
        description:
          description: Description of the connector
          example: This is an updated sample connector
        name:
          description: Updated name of the connector
          example: Updated S3 Source
        type:
          description: Updated type of the connector
          example: s3
        config:
          $ref: '#/components/schemas/PlatformConfig.JsonNode'
        sourceType:
          minLength: 1
          description: Source type
          example: RELATIONAL DB
      description: Request object for creating a Source Connector
    PlatformConfig.WorkflowCreateReq:
      required:
        - description
        - nodes
        - workflowType
      properties:
        workflowName:
          minLength: 1
        description: {}
        workflowType:
          enum:
            - DOCUMENT
            - RELATIONAL_DB
            - CONVERSATION
            - ENTERPRISE_APPLICATION
        workflowTemplate: {}
        sourceId: {}
        destinationId: {}
        nodes:
          items:
            $ref: '#/components/schemas/PlatformConfig.Node'
        schedule:
          enum:
            - EVERY_15_MINUTES
            - EVERY_HOUR
            - EVERY_2_HOURS
            - EVERY_4_HOURS
            - EVERY_6_HOURS
            - EVERY_8_HOURS
            - EVERY_10_HOURS
            - EVERY_12_HOURS
            - DAILY
            - WEEKLY
            - MONTHLY
    PlatformConfig.KnowledgeBaseUpdateReq:
      properties:
        name:
          description: Updated name of the knowledgeBase
          example: MySlm
        description:
          description: Updated description of the knowledgeBase
          example: My Updated description
        roles:
          description: Updated roles
          example: '[CEO]'
          items: {}
        ragPrompt:
          description: Document RAG propmpt
          example: you are an intelligent assistant...
      description: Request object for updating a KnowledgeBase
    PlatformConfig.WorkflowValidateReq:
      properties:
        name:
          description: Name of the workflow
          example: Test Wf
      description: Request object for Validating a Workflow
    PlatformConfig.TagGetQueryResponse:
      properties:
        sql_query:
          description: SQL query generated
          example: SELECT * FROM "xf_destination_param";
        description:
          description: Description of what the query does
        follow_up_questions:
          description: Follow-up questions suggested
          example:
            - What is the trend over time?
            - Any filters applied?
          items: {}
        is_valid_sql:
          description: Indicates if the SQL is valid
          example: 'True'
        reasoning:
          description: Reason why validation succeeded or failed
          example: SQL is syntactically correct.
        query_execution_result:
          description: Result of executing the query
          items: {}
        final_answer:
          description: Final answer or interpretation for the end user
      description: Detailed result object from tag query execution
    PlatformConfig.Node:
      properties:
        title:
          minLength: 1
        operation:
          minLength: 1
        nodeType:
          minLength: 1
        order:
          format: int32
        config:
          $ref: '#/components/schemas/PlatformConfig.Config'
        dependencies:
          items: {}
    PlatformConfig.ServerSentEventJobDetailsRes: {}
    PlatformConfig.GenerateChartResponse:
      properties:
        chart:
          description: chart data
          example: >-
            iVBORw0KGgoAAAANSUhEUgAAC7gAAAcICAYAAACsf4x4AAAAOnRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjEwLjMsIGh0dHBzOi8vbWF0cGxvdGxpYi5vcmcvZiW
      description: >-
        Response object from QnA service after processing a generate chart
        request
    PlatformConfig.SLMPairingReq:
      required:
        - roles
        - slmConfig
        - slmDescription
        - slmMasterId
        - slmName
      properties:
        slmMasterId:
          description: slm base/master model id
          example: c72ab301-4658-4252-9f5f-aeb742bd38d9
        slmName:
          description: Updated name of the slm
          example: MySlm
        slmDescription:
          description: Updated description of the slm
          example: My Updated description
        roles:
          description: Updated roles of the knowledgebase
          example:
            - CEO
          items: {}
        slmConfig:
          $ref: '#/components/schemas/PlatformConfig.JsonNode'
      description: Request object for updating a SLM details
    PlatformConfig.GenerateChartRequest:
      properties:
        tenantId:
          minLength: 1
          description: Tenant ID of the user
          example: tenant-123
        userId:
          minLength: 1
          description: User ID of the requester
          example: user-456
        chart_type:
          description: Type of chart to generate (applicable if question_type is 'chart')
          example: bar
        knowledgeBaseId:
          minLength: 1
          description: KnowledgeBase Identifier
          example: 12345
      description: Request object for asking to generate chart for a question
    Inferencing.ChatCompletionResponse:
      title: ChatCompletionResponse
      required:
        - choices
        - model
      properties:
        id:
          title: Id
        object:
          title: Object
          default: chat.completion
        created:
          title: Created
        model:
          title: Model
        choices:
          title: Choices
          items:
            $ref: '#/components/schemas/Inferencing.ChatCompletionChoice'
        usage:
          anyOf:
            - $ref: '#/components/schemas/Inferencing.ChatCompletionUsage'
            - {}
        prompt_logprobs:
          title: Prompt Logprobs
          anyOf:
            - {}
            - {}
    Inferencing.ChatMessage:
      title: ChatMessage
      required:
        - content
        - role
      properties:
        role:
          title: Role
          enum:
            - system
            - user
            - assistant
        content:
          title: Content
          anyOf:
            - {}
            - items:
                anyOf:
                  - $ref: '#/components/schemas/Inferencing.ChatMessageContentText'
                  - $ref: '#/components/schemas/Inferencing.ChatMessageContentImage'
        name:
          title: Name
          anyOf:
            - {}
            - {}
    Inferencing.ToolCall:
      title: ToolCall
      required:
        - function
        - id
        - type
      properties:
        id:
          title: Id
        type:
          title: Type
        function:
          $ref: '#/components/schemas/Inferencing.FunctionCall'
    Inferencing.ChatMessageContentText:
      title: ChatMessageContentText
      required:
        - text
        - type
      properties:
        type:
          title: Type
        text:
          title: Text
    Inferencing.JailbreakDetectRequest:
      title: JailbreakDetectRequest
      required:
        - input
      properties:
        input:
          title: Input
    Inferencing.ResponseFormatJSONSchema:
      title: ResponseFormatJSONSchema
      required:
        - json_schema
        - type
      properties:
        type:
          title: Type
        json_schema:
          $ref: '#/components/schemas/Inferencing.JSONSchema'
    Inferencing.ChatMessageContentImage:
      title: ChatMessageContentImage
      required:
        - image_url
        - type
      properties:
        type:
          title: Type
        image_url:
          title: Image Url
          additionalProperties: {}
    Inferencing.ResponseFormatJSONObject:
      title: ResponseFormatJSONObject
      required:
        - type
      properties:
        type:
          title: Type
    Inferencing.ResponseFormatText:
      title: ResponseFormatText
      required:
        - type
      properties:
        type:
          title: Type
    Inferencing.EmbeddingObject:
      title: EmbeddingObject
      required:
        - embedding
        - index
      properties:
        object:
          title: Object
          default: embedding
        index:
          title: Index
        embedding:
          title: Embedding
          anyOf:
            - items: {}
            - {}
    Inferencing.OpenAIErrorResponse:
      title: OpenAIErrorResponse
      required:
        - error
      properties:
        error:
          $ref: '#/components/schemas/Inferencing.OpenAIErrorDetail'
    Inferencing.RankerRequest:
      title: RankerRequest
      required:
        - candidates
        - model
      properties:
        model:
          title: Model
        candidates:
          title: Candidates
          items:
            maxItems: 2
            minItems: 2
    Inferencing.RankerResponse:
      title: RankerResponse
      required:
        - scores
      properties:
        scores:
          title: Scores
          items: {}
    Inferencing.JSONSchema:
      title: JSONSchema
      required:
        - description
        - name
        - strict
      properties:
        name:
          title: Name
        description:
          title: Description
          anyOf:
            - {}
            - {}
        schema:
          title: Schema
        strict:
          title: Strict
          anyOf:
            - {}
            - {}
    Inferencing.ChatCompletionChoice:
      title: ChatCompletionChoice
      required:
        - index
        - message
      properties:
        index:
          title: Index
        message:
          $ref: '#/components/schemas/Inferencing.ChatCompletionMessage'
        logprobs:
          title: Logprobs
          anyOf:
            - {}
            - {}
        finish_reason:
          title: Finish Reason
          anyOf:
            - {}
            - {}
        stop_reason:
          title: Stop Reason
          anyOf:
            - {}
            - {}
    Inferencing.ValidationError:
      title: ValidationError
      required:
        - loc
        - msg
        - type
      properties:
        loc:
          title: Location
          items:
            anyOf:
              - {}
              - {}
        msg:
          title: Message
        type:
          title: Error Type
    Inferencing.EmbeddingResponse:
      title: EmbeddingResponse
      required:
        - data
        - model
        - usage
      properties:
        object:
          title: Object
          default: list
        data:
          title: Data
          items:
            $ref: '#/components/schemas/Inferencing.EmbeddingObject'
        model:
          title: Model
        usage:
          $ref: '#/components/schemas/Inferencing.UsageObject'
    Inferencing.OpenAIErrorDetail:
      title: OpenAIErrorDetail
      required:
        - message
        - type
      properties:
        message:
          title: Message
        type:
          title: Type
        param:
          title: Param
          anyOf:
            - {}
            - {}
        code:
          title: Code
          anyOf:
            - {}
            - {}
    Inferencing.EmbeddingRequest:
      title: EmbeddingRequest
      required:
        - input
        - model
      properties:
        model:
          title: Model
        input:
          title: Input
          anyOf:
            - {}
            - items: {}
            - items: {}
            - items:
                items: {}
        user:
          title: User
          anyOf:
            - {}
            - {}
        encoding_format:
          title: Encoding Format
          anyOf:
            - enum:
                - float
                - base64
            - {}
          default: float
    Inferencing.UniphoreModelList:
      title: UniphoreModelList
      properties:
        object:
          title: Object
          default: list
        data:
          title: Data
          items:
            $ref: '#/components/schemas/Inferencing.UniphoreModelCard'
    Inferencing.ChatCompletionRequest:
      title: ChatCompletionRequest
      required:
        - messages
        - model
      properties:
        model:
          title: Model
        messages:
          title: Messages
          items:
            $ref: '#/components/schemas/Inferencing.ChatMessage'
        temperature:
          title: Temperature
          anyOf:
            - {}
            - {}
          default: 1
        top_p:
          title: Top P
          anyOf:
            - {}
            - {}
          default: 1
        'n':
          title: 'N'
          anyOf:
            - {}
            - {}
          default: 1
        stream:
          title: Stream
          anyOf:
            - {}
            - {}
          default: false
        stop:
          title: Stop
          anyOf:
            - {}
            - items: {}
            - {}
        max_tokens:
          title: Max Tokens
          anyOf:
            - {}
            - {}
        presence_penalty:
          title: Presence Penalty
          anyOf:
            - {}
            - {}
          default: 0
        frequency_penalty:
          title: Frequency Penalty
          anyOf:
            - {}
            - {}
          default: 0
        logit_bias:
          title: Logit Bias
          anyOf:
            - additionalProperties: {}
            - {}
        user:
          title: User
          anyOf:
            - {}
            - {}
        tools:
          title: Tools
          anyOf:
            - items: {}
            - {}
        tool_choice:
          title: Tool Choice
          anyOf:
            - {}
            - {}
            - {}
        response_format:
          title: Response Format
          anyOf:
            - $ref: '#/components/schemas/Inferencing.ResponseFormatText'
            - $ref: '#/components/schemas/Inferencing.ResponseFormatJSONObject'
            - $ref: '#/components/schemas/Inferencing.ResponseFormatJSONSchema'
            - {}
    Inferencing.JailbreakDetectResponse:
      title: JailbreakDetectResponse
      required:
        - jailbreak
        - score
      properties:
        jailbreak:
          title: Jailbreak
        score:
          title: Score
    Inferencing.ChatCompletionMessage:
      title: ChatCompletionMessage
      required:
        - role
      properties:
        role:
          title: Role
          enum:
            - system
            - user
            - assistant
        content:
          title: Content
          anyOf:
            - {}
            - {}
        tool_calls:
          title: Tool Calls
          anyOf:
            - items:
                $ref: '#/components/schemas/Inferencing.ToolCall'
            - {}
    Inferencing.FunctionCall:
      title: FunctionCall
      required:
        - arguments
        - name
      properties:
        name:
          title: Name
        arguments:
          title: Arguments
    Inferencing.UniphoreModelCard:
      title: UniphoreModelCard
      required:
        - id
        - owned_by
        - provider
        - type
      properties:
        id:
          title: Id
        object:
          title: Object
          default: model
        created:
          title: Created
        owned_by:
          title: Owned By
        provider:
          title: Provider
        type:
          title: Type
        subtype:
          title: Subtype
          anyOf:
            - {}
            - {}
    Inferencing.ChatCompletionUsage:
      title: ChatCompletionUsage
      required:
        - completion_tokens
        - prompt_tokens
        - total_tokens
      properties:
        prompt_tokens:
          title: Prompt Tokens
        completion_tokens:
          title: Completion Tokens
        total_tokens:
          title: Total Tokens
    Inferencing.HTTPValidationError:
      title: HTTPValidationError
      properties:
        detail:
          title: Detail
          items:
            $ref: '#/components/schemas/Inferencing.ValidationError'
    Inferencing.UsageObject:
      title: UsageObject
      required:
        - prompt_tokens
        - total_tokens
      properties:
        prompt_tokens:
          title: Prompt Tokens
        total_tokens:
          title: Total Tokens
  securitySchemes:
    Agents.bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    Darwin.bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    Orchestrator.bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
